public void Setup() { _directory = new InvokerDirectory(null); _fighter = new Fighter(); _staticProxy = new FighterProxy(_fighter, new SingleThreadInvoker()); _codegenProxy = _directory.AsAddress(_fighter); }
public FighterTests(ITestOutputHelper output, RunThisTestFixture fixture) { _fixture = fixture; _output = output; _directory = fixture.Provider.GetRequiredService <IInvokerDirectory>(); XunitLoggerProvider.PlugOutput(output); }