public void When_calling_ThrowIfEmpty_with_non_empty_values_should_return_input_as_output(Guid testValue)
 {
     AssertThatReturnsInputAsOutputForStruct(() => GuidGuardiansExtension.ThrowIfEmpty(testValue), testValue);
 }
        public void When_calling_PassThroughNonEmpty_with_empty_values_exception_argumentName_and_message_should_match_default(Guid testValue)
        {
            var defaultMessage = string.Format(CultureInfo.InvariantCulture, FlabIt.Guardians.Properties.Resources.Exception_ArgumentOfTypeXEmptyMessageWithParamName, DefaultArgumentName, typeof(Guid).FullName);

            AssertThatExceptionParamNameAndMessageShouldMatchDefaultArgumentName <ArgumentEmptyException>(() => _ = GuidGuardiansExtension.PassThroughNonEmpty(testValue), defaultMessage);
        }
 public void When_calling_ThrowIfEmpty_with_non_empty_values_should_not_throw(Guid testValue)
 {
     AssertThatDoesNotThrow(() => GuidGuardiansExtension.ThrowIfEmpty(testValue));
 }
 public void When_calling_ThrowIfEmpty_with_empty_values_should_throw_ArgumentEmptyException(Guid testValue)
 {
     AssertThatThrows <ArgumentEmptyException>(() => GuidGuardiansExtension.ThrowIfEmpty(testValue));
 }
        public void When_calling_ThrowIfEmpty_with_empty_values_with_custom_argumentName_and_custom_message_exception_properties_should_match(Guid testValue)
        {
            const string testValueParamName = nameof(testValue);

            AssertThatExceptionParamNameAndMessageShouldMatch <ArgumentEmptyException>(() => GuidGuardiansExtension.ThrowIfEmpty(testValue, testValueParamName, TestCustomExceptionMessage), testValueParamName, TestCustomExceptionMessage);
        }
 public void When_calling_ThrowIfEmpty_with_empty_values_with_custom_message_exception_message_should_match(Guid testValue)
 {
     AssertThatExceptionMessageShouldMatchCustomMessage <ArgumentEmptyException>(() => GuidGuardiansExtension.ThrowIfEmpty(testValue, message: TestCustomExceptionMessage));
 }
        public void When_calling_ThrowIfEmpty_with_empty_values_with_custom_argumentName_exception_argumentName_should_match(Guid testValue)
        {
            const string testValueParamName = nameof(testValue);

            AssertThatExceptionParamNameShouldMatchCustomArgumentName <ArgumentEmptyException>(() => GuidGuardiansExtension.ThrowIfEmpty(testValue, testValueParamName), testValueParamName);
        }