Below code throwing exception at run time:
A.CallTo(() => myObject.Add(dummyobject)).Returns(result);
below is the exception:
Object 'myObject' of type 'classType' not recognized as a fake object.'
where i can not create fake object of myObject.
here are the more details: myObject -> my class Object, and type is nothing but my class it can be anything like 'ABC'. A is a static class provided by FakeItEasy framework