test_class.declarator: emailAddressValidator
test_class.modifier: private
test_class.original_string: private EmailAddressValidator emailAddressValidator;
test_class.type: EmailAddressValidator
test_class.var_name: emailAddressValidator
test_class.file: command-validation-support/src/test/java/engineering/everest/lhotse/axon/command/validators/EmailAddressValidatorTest.java
test_class.identifier: EmailAddressValidatorTest
test_case.body: @Test
      void validator_WillFail_WhenEmailIsAddressedLocally() {
          assertThrows(IllegalArgumentException.class, () -> emailAddressValidator.validate(() -> "bob@localhost"));
      }
test_case.class_method_signature: EmailAddressValidatorTest.validator_WillFail_WhenEmailIsAddressedLocally()
test_case.full_signature: @Test void validator_WillFail_WhenEmailIsAddressedLocally()
test_case.identifier: validator_WillFail_WhenEmailIsAddressedLocally
test_case.invocations: assertThrows validate
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void validator_WillFail_WhenEmailIsAddressedLocally()
focal_class.file: command-validation-support/src/main/java/engineering/everest/lhotse/axon/command/validators/EmailAddressValidator.java
focal_class.identifier: EmailAddressValidator
focal_class.interfaces: implements Validates<EmailAddressValidatableCommand>
focal_class.class_method_signature: EmailAddressValidator.validate(EmailAddressValidatableCommand validatable)
focal_class.full_signature: @Override public void validate(EmailAddressValidatableCommand validatable)
focal_class.identifier: validate
focal_class.modifiers: @Override public
focal_class.parameters: (EmailAddressValidatableCommand validatable)
focal_class.return: void
focal_class.signature: void validate(EmailAddressValidatableCommand validatable)
focal_method.body: @Override
      public void validate(EmailAddressValidatableCommand validatable) {
          if (validatable.getEmailAddress() == null) {
              return;
          }
          Validate.isTrue(EmailValidator.getInstance(false).isValid(validatable.getEmailAddress()), "Malformed email address");
      }
focal_method.class_method_signature: EmailAddressValidator.validate(EmailAddressValidatableCommand validatable)
focal_method.full_signature: @Override public void validate(EmailAddressValidatableCommand validatable)
focal_method.identifier: validate
focal_method.invocations: getEmailAddress isTrue isValid getInstance getEmailAddress
focal_method.modifiers: @Override public
focal_method.parameters: (EmailAddressValidatableCommand validatable)
focal_method.return: void
focal_method.signature: void validate(EmailAddressValidatableCommand validatable)