14 references to Contains
Microsoft.AspNetCore.OpenApi.Tests (8)
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Paths.cs (8)
88Assert.Contains(HttpMethod.Get, path.Value.Operations); 89Assert.Contains(HttpMethod.Post, path.Value.Operations); 114Assert.Contains(HttpMethod.Get, path.Value.Operations); 115Assert.Contains(HttpMethod.Put, path.Value.Operations); 116Assert.Contains(HttpMethod.Post, path.Value.Operations); 117Assert.Contains(HttpMethod.Patch, path.Value.Operations); 141Assert.Contains(HttpMethod.Get, path.Value.Operations); 142Assert.Contains(HttpMethod.Post, path.Value.Operations);
Microsoft.DotNet.XUnitAssert.Tests (2)
DictionaryAssertsTests.cs (2)
23 Assert.Equal(42, Assert.Contains("FORTY-two", dictionary)); 54 assertFailure(() => Assert.Contains("FORTY-two", dictionary));
Microsoft.Gen.Logging.Generated.Tests (4)
LogPropertiesTests.cs (4)
607Assert.Contains("{OriginalFormat}", state); 608Assert.Contains("logObject.PropertyToLog", state); 609Assert.Contains("logObject.FieldToLog.Name", state); 610Assert.Contains("logObject.FieldToLog.Value", state);