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