Beispiel #1
0
        public void PrivateNoArgs_Test()
        {
            // SETUP
            FooMethods fooObject = new FooMethods();

            // EXERCISE
            string myPrivateMethodResult = (string)tester.AccessPrivateMethod("ReturnHelloWorld", null, fooObject);

            // ASSERT
            Assert.Equal("Hello World", myPrivateMethodResult);
        }
Beispiel #2
0
 static extern void foo_get_methods(out FooMethods methods);