ClientTests SendTestMessageWithoutServerShouldNotCrash Method Delta Engine Documentation

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

public void SendTestMessageWithoutServerShouldNotCrash()
Examples

[Test]
public void SendTestMessageWithoutServerShouldNotCrash()
{
    using (var client = new MockClient(null))
    {
        Assert.IsFalse(client.IsConnected);
        client.Send(new TextMessage(""));
    }
}
See Also