Base:
3 references to ToString
Microsoft.AspNetCore.DataProtection.Tests (3)
KeyManagement\XmlKeyManagerTests.cs (2)
551Assert.False(loggerFactory.ToString().Contains("1A2B3C4D"), "The secret '1A2B3C4D' should not have been logged."); 575Assert.True(loggerFactory.ToString().Contains("1A2B3C4D"), "The secret '1A2B3C4D' should have been logged.");
Repositories\FileSystemXmlRepositoryTests.cs (1)
290Assert.Contains(Resources.FormatFileSystem_EphemeralKeysLocationInContainer(dirInfo.FullName), loggerFactory.ToString());