public async Task Should_not_add_report_when_being_blocked() { var cmd = new AddEntry { DomainName = "report4.coderr.io", ApplicationIds = new[] { 1 }, IpAddresses = new[] { "1.2.3.4" } }; await _apiClient.SendAsync(cmd); await GetEntry(x => x.DomainName == cmd.DomainName); IncidentWrapper entry = null; try { entry = await _applicationClient.CreateIncidentWithoutSignature(); } catch { // should throw since the report should be ignored. } entry.Should().BeNull(); }