Esempio n. 1
0
        public void ShouldBeAbleToDoAssertAllForASetup()
        {
            IFileReader fileReader = Mock.Create <IFileReader>();

            const string expected = @"c:\JustMock";

            fileReader.Arrange(x => x.Path).Returns(expected);

            Assert.Equal(expected, fileReader.Path);

            fileReader.AssertAll();
        }