Example #1
0
        public async Task WhenReady_ShouldReturnOk()
        {
            PingClient pingClient = TestApplication.GetPingClient();

            (bool ok, PingResponse? response) = await pingClient.Ready();

            ok.Should().BeTrue();
            response.Should().NotBeNull();
        }
Example #2
0
        public async Task WhenAskedForLogs_ShouldReturnData()
        {
            PingClient pingClient = TestApplication.GetPingClient();

            PingLogs?logs = await pingClient.GetLogs();

            logs.Should().NotBeNull();
            logs !.Count.Should().BeGreaterThan(0);
            logs.Messages.Should().NotBeNull();
            logs.Messages !.Count.Should().BeGreaterThan(0);
        }