示例#1
0
        public void MethodCallAndOperator()
        {
            var o = new SimpleObjectPropertyStringTest();

            Test(() => o.Create() == foo, "o.Create() == foo");
        }
示例#2
0
        public void MethodCallWithStringLiteralArgument()
        {
            var o = new SimpleObjectPropertyStringTest();

            Test(() => o.Create("foo") == foo, "o.Create(\"foo\") == foo");
        }
示例#3
0
        public void MethodCallWithoutArguments()
        {
            var o = new SimpleObjectPropertyStringTest();

            Test(() => o.Create(), "o.Create()");
        }