Is it possible to use JustMock for Compact Framework projects in VS 2008? For now, I am using the free edition.
The following does not compile, where "IService" is just an example interface with a single method, "DoSomething()":
The compiler spits out this error:
Error 2 Cannot convert lambda expression to type 'System.Linq.Expressions.Expression`1<Telerik.JustMock.Action2>' because it is not a delegate type
The following does not compile, where "IService" is just an example interface with a single method, "DoSomething()":
IService
service =
Mock.Create<
IService
>();
Mock.Arrange(()=>service.DoSomething()).MustBeCalled();
The compiler spits out this error:
Error 2 Cannot convert lambda expression to type 'System.Linq.Expressions.Expression`1<Telerik.JustMock.Action2>' because it is not a delegate type