public void Interception_MethodWithOneArgument_PrintsArgumentValue()
        {
            MethodInterception t = new MethodInterception();
            t.Method1( "Test" );

            string output = OutputString.ToString();
            StringAssert.Contains( "MethodInterception.Method1(string arg = \"Test\")", output );
        }
Exemple #2
0
        public void Interception_MethodWithOneArgument_PrintsArgumentValue()
        {
            MethodInterception t = new MethodInterception();

            t.Method1("Test");

            string output = OutputString.ToString();

            StringAssert.Contains("MethodInterception.Method1(string arg = \"Test\")", output);
        }