public void WhenGettingCreatedMessage_ReturnsExpectedMessage(EntityType entityType) { // act var message = MessageBuilder.BuildCreatedMessage(entityType); // assert message.Severity.Should().Be(NotificationSeverity.Success); message.Detail.Should().Contain(entityType.ToString()); }