I grabbed Alpha 3 this morning from NuGet and I seem to be unable to mock EF6 the way I would normally mock OpenAccess. When I try a simple:
var test = Mock.Create<DemoEntities>();
I get a TypeLoadException:
Method 'CallValidateEntity' on type 'DemoEntitiesProxy+53c69f86fe444525a693c487adc77799' from assembly 'Telerik.JustMock.Dynamic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is overriding a method that is not visible from that assembly.
Any thoughts?
var test = Mock.Create<DemoEntities>();
I get a TypeLoadException:
Method 'CallValidateEntity' on type 'DemoEntitiesProxy+53c69f86fe444525a693c487adc77799' from assembly 'Telerik.JustMock.Dynamic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is overriding a method that is not visible from that assembly.
Any thoughts?