Could you please provide the code that is in fault, or even better, the whole unit test that fails? This will allow us to reproduce the behavior on our side and see what's wrong. Also, please share the exact exception message that is being thrown.
Thank you for the help in advance. I am looking forward to your reply.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.