ConnectToOnlineServerTests SendInvalidMessageShouldBeRejectedByServer Method Delta Engine Documentation

Namespace: DeltaEngine.Networking.Tests.Tcp
Assembly: DeltaEngine.Networking.Tests (in DeltaEngine.Networking.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void SendInvalidMessageShouldBeRejectedByServer()
Examples

[Test]
public void SendInvalidMessageShouldBeRejectedByServer()
{
    Login();
    SendMessageAndWaitForServerResponse(new Vector2D(0, 1));
    Thread.Sleep(50);
    Assert.IsInstanceOf<SetProject>(serverResponse);
}
See Also