public void InvokePrivateMethodTest() { Target t = new Target(); int p = 9; Assert.AreEqual(p + 1, Replacer.InvokePrivateMethod(t, "addOne", new object[] { p })); }
public void InvokePrivateMethodTest() { Target t = new Target(); int p = 9; Assert.AreEqual(p + 1, Replacer.InvokePrivateMethod(t, "addOne", new object[] { p })); }