This was it. I discovered that in the init of my model class there was a property that would return null in the unit test, as I was assigning a value to it after the adaptTo. This would cause the adaptTo in the unit test to fail, even though everything as far as the model goes was working correctl...