public void WhenCallingWarnShouldRecordOneError()
{
// act
_logger.Warn("Test String");
// assert
_memoryTarget.Logs.Count.Should().Be(1, "because we only called the method once");
_memoryTarget.Logs.All(log => log.Contains("Warn")).Should().BeTrue("Because we only logged an Warn");
}
}