HI, I have a controller which has its init method overridden and in the init method I access the controllers model. Now when I try to test this controller using modelFor, I get error at the line where I acess model properties. It says model is undefined.
I am not sure how to handle this issue. Is there a way to provide the controller a Model object in setup method? I cannot do this.subject().set(‘model’, …) as it calls the init method and it fails again.
Please let me know if I am not clear, will be happy to provide more information.