diff --git a/src/FX.Tests/E2ETests.cs b/src/FX.Tests/E2ETests.cs index 54891b6..c40285a 100644 --- a/src/FX.Tests/E2ETests.cs +++ b/src/FX.Tests/E2ETests.cs @@ -48,12 +48,19 @@ async public Task GrpcE2ETest() await Task.Delay(TimeSpan.FromSeconds(1.0)); var client = new GrpcClient.Instance(); - client.Connect(); var order = new GrpcModels.LimitOrder(1.0m, Side.Ask.ToString(), 1.0m); var response = await client.SendMessage>(order); - Assert.That(response.Value.IsFull); + Assert.That(response, Is.Null); + + var client2 = new GrpcClient.Instance(); + + var order2 = new GrpcModels.LimitOrder(1.0m, Side.Bid.ToString(), 2.0m); + var response2 = await client2.SendMessage>(order2); + + Assert.That(response2.Value.IsPartial); + Assert.That((response2.Value as Match.Partial).Item, Is.EqualTo(1.0m)); } } }