Exemplo n.º 1
0
        [Test] public void CallMethodWithReturnEnum()
        {
            mock.ExpectAndReturn("getEnum", MyEnum.C);
            MyEnum result = thingy.getEnum();

            Assertion.AssertEquals(MyEnum.C, result);
            mock.Verify();
        }