public void ToString_ShouldReturnSummary() { // Arrange. var category = ApplicationEventCategory.Information; var verbosity = ApplicationEventVerbosity.Normal; var description = "description"; var environmentName = "environmentName"; var userInformation = "userInformation"; var target = new ApplicationEvent(category, verbosity, description, environmentName, userInformation); // Act. var result = target.ToString(); // Assert. result.Should().NotBeNullOrEmpty(); result.Should().Be(target.Summary); }