Dear Support
I am currently evaluating JustMock and when trying to create mock for SPField:
I get NullReferenceException.
StackTrace:
Can SPField be mocked using JustMock?
I am currently evaluating JustMock and when trying to create mock for SPField:
var field = Mock.Create<SPField>();StackTrace:
at Telerik.JustMock.DynamicProxy.ProxyFactory.CreateInstance(Type proxyType, Object[] extArgs)at Telerik.JustMock.DynamicProxy.ProxyFactory.Create()at Telerik.JustMock.DynamicProxy.Fluent.FluentProxy.NewInstance()at Telerik.JustMock.DynamicProxy.Proxy.Create(Type target, Action`1 action)at Telerik.JustMock.MockManager.CreateProxy(Type targetType, Container container)at Telerik.JustMock.MockManager.CreateInstance(Container container)at Telerik.JustMock.MockManager.SetupMock(Behavior behavior, Boolean static)at Telerik.JustMock.MockManager.CreateInstance()at Telerik.JustMock.Mock.Create(Type target, Behavior behavior, Object[] args)at Telerik.JustMock.Mock.Create(Type target, Object[] args)at Telerik.JustMock.Mock.Create[T]()Can SPField be mocked using JustMock?