servicepoint/crates/servicepoint_binding_cs/ServicePoint.Tests/CommandTests.cs

15 lines
331 B
C#
Raw Normal View History

2024-10-20 12:29:45 +02:00
namespace ServicePoint.Tests;
public class CommandTests
{
private Connection _fakeConnection = Connection.Fake();
[Fact]
public void Test1()
{
var command = Command.Clear();
_fakeConnection.Send(command);
Assert.Throws<NullReferenceException>(() => _fakeConnection.Send(command));
}
}