public void TestDoNotExposePrivateMethod() { var tTest = new TestWithPrivateMethod(); var tNonExposed = new InvokeContext(tTest, this).ActLike <IExposePrivateMethod>(); AssertException <RuntimeBinderException>(() => tNonExposed.Test()); }
public void TestDoNotExposePrivateMethod() { var tTest = new TestWithPrivateMethod(); var tNonExposed = new InvokeContext(tTest, this).ActLike <IExposePrivateMethod>(); AssertException <RuntimeBinderException>(() => tNonExposed.Test()); }