Hello Brian Pratt,
It is unfortunate that you are experiencing issues with JustMock.
I tried reproducing the matter, and I must say that, I did not succeed. I wrote the following test and it behaved as expected:
Priority(Int32 priorityId, String name, Int32 rank, Int32 expirationBuffer,
Boolean isLiveMicrophone, Boolean isEmergency, Boolean isRepeated,
Int32 repeatBuffer, Single levelAdjustment, Boolean isInterruptible, Int32 percentAvailable)
var mock = Mock.Create<Priority>();
var expected =
Mock.Arrange(() => mock.GetAll()).Returns(expected);
var actual = mock.GetAll();
To help you further, I would be needing the exact SUT and test method reproducing the issue itself.
Also, I am glad to announce that JustMock Q1 2013 will be released by the end of today. Feel free to try it.
Thank you for the patience and the collaboration in advance.
All the best,
the Telerik team
Share what you think about JustTrace & JustMock with us, so we can become even better! You can use the built-in feedback tool inside JustTrace, our forums
, or our JustTrace