I am trying to do Mock.Arrange() in the following manner:
var practice = Mock.Create<PracticeOptions>();
Mock.Arrange(() => practice.PolicyExpirationDays).Returns(30);
I am getting the exception in the second line saying that "Cannot mock 'Int32 get_PolicyExpirationDays()'. The profiler must be enabled to mock, arrange or execute the specified target."
I tried updating\removing\installing JustMock on my machine but nothing is working out.
Please look into this asap as it's a bit urgent.