public void CombinedTest() { var writer = new StringWriter(); var log = TestLogger.New(writer); var loggerFactory = new LoggerFactory().AddSerilog(log); RunCombinedTest(loggerFactory, true); writer.GetContentAndClear().Should().ContainAll("populating"); RunCombinedTest(loggerFactory); writer.GetContentAndClear().Should().ContainAll("Cached plugin set info found"); }