private void Connect() { Assert.NotNull(_connection); _connection.Connect(Url, Port); SleepModifier(250); Assert.NotNull(_connection); Assert.Equal(ServerStates.Connected, _connection.GetActServerState()); }
public void TestConnect() { PrepareFirstServerConnector(); _connection.Connect(Url, Port); sleepModifier(250); Assert.NotNull(_connection); Assert.Equal(ServerStates.Connected, _connection.GetActServerState()); _connection.Disconnect(); _connection = null; }