Hi,
To invoke private methods we use Invoke.Method call.
You can use it on private static like in your case like this :
[TestMethod, Isolated]
public void InvokePrivateStaticMethod()
{
var result = Isolate.Invoke.Method<Foo>("Multiply", 2, 5);
Assert.AreEqual(10, result);
}
or for non static:
[TestMethod]
public void InvokePrivateMethod()
{
var underTest = new ClassUnderTest();
var result = Isolate.Invoke.Method(underTest, "Sum", 2, 5);
Assert.AreEqual(7, result);
}