示例#1
0
        public void DoStuffWillReverseMessage(Reverser sut, SomeValue value)
        {
            // Fixture setup
            var expectedResult = new string(value.Message.Reverse().ToArray());
            // Exercise system
            var result = sut.DoStuff(value, null);

            // Verify outcome
            Assert.Equal(expectedResult, result);
            // Teardown
        }