public async Task TestInvokePrivateAsyncMethod() { var configuration = GetConfiguration(); var test = new ActorTestKit <M4>(configuration: configuration); int result = (int)await test.InvokeAsync("AddAsync", 3, 4); test.Assert(result == 7, $"Incorrect result '{result}'"); result = (int)await test.InvokeAsync("AddAsync", new Type[] { typeof(int), typeof(int) }, 3, 4); test.Assert(result == 7, $"Incorrect result '{result}'"); }