hi
is it possible to use ReturnsCollection with Mock.NonPublic.Arrange
Mock.NonPublic.Arrange(fw, "GetRoleClassesAndRights", 10).ReturnsCollection(CreateDocumentClassAndRoleRightsList());
I could not do it.. Why.. there comes error ..ReturnsCollection
Error 122 'Telerik.JustMock.Expectations.ActionExpectation' does not contain a definition for 'ReturnsCollection' and no extension method 'ReturnsCollection' accepting a first argument of type 'Telerik.JustMock.Expectations.ActionExpectation' could be found (are you missing a using directive or an assembly reference?)
is it possible to use ReturnsCollection with Mock.NonPublic.Arrange
Mock.NonPublic.Arrange(fw, "GetRoleClassesAndRights", 10).ReturnsCollection(CreateDocumentClassAndRoleRightsList());
I could not do it.. Why.. there comes error ..ReturnsCollection
Error 122 'Telerik.JustMock.Expectations.ActionExpectation' does not contain a definition for 'ReturnsCollection' and no extension method 'ReturnsCollection' accepting a first argument of type 'Telerik.JustMock.Expectations.ActionExpectation' could be found (are you missing a using directive or an assembly reference?)