public TestSetup(AkkaSpec spec, bool shouldBindServer = true)
{
BindOptions = Enumerable.Empty<Inet.SocketOption>();
ConnectOptions = Enumerable.Empty<Inet.SocketOption>();
_spec = spec;
_shouldBindServer = shouldBindServer;
_bindHandler = _spec.CreateTestProbe();
_endpoint = TestUtils.TemporaryServerAddress();
}