public void HaveLoggedInformationContaining_TwoLogEventsWithSameTemplate_MatchesByTemplateAndProperty() { // Arrange logger.Information("MSG {ObjectId}", 123); logger.Information("MSG {ObjectId}", 124); // Act Action action = () => logger.Should().HaveLoggedInformationWithMatchingTemplateAndPropertyValue( "MSG", "ObjectId", "124"); // Assert action.Should().NotThrow(); }