public void PrivateNoArgs_Test() { // SETUP FooMethods fooObject = new FooMethods(); // EXERCISE string myPrivateMethodResult = (string)tester.AccessPrivateMethod("ReturnHelloWorld", null, fooObject); // ASSERT Assert.Equal("Hello World", myPrivateMethodResult); }
static extern void foo_get_methods(out FooMethods methods);