Thank you for reporting this.
I managed to reproduce it on my side and further investigations lead to the fact that ConnectionProfile
is actually a COM class. If you inspect it, you should notice that it comes from a .winmd
file. Unfortunately, even as JustMock is fully integrated inside Win RT it still cannot mock COM types. So, this scenario is not supported by us, at this stage.
Nevertheless, I will be happy to assist you with the evaluation further. I might be able to do so, if you share why do you need to mock exactly this class. Perhaps, me and my colleague
s could think of a better approach that will work for your scenario.
I hope this helps.
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.