test_class.declarator: thrown = ExpectedException.none()
test_class.modifier: @Rule
  	public final
test_class.original_string: @Rule
  	public final ExpectedException thrown = ExpectedException.none();
test_class.type: ExpectedException
test_class.var_name: thrown
test_class.file: services/src/test/java/com/greensopinion/finance/services/ValidationPreconditionsTest.java
test_class.identifier: ValidationPreconditionsTest
test_case.body: @Test
  	public void validate() {
  		ValidationPreconditions.validate(true, "No harm here.");
  		thrown.expect(ValidationException.class);
  		thrown.expectMessage("Ouch.");
  		ValidationPreconditions.validate(false, "Ouch.");
  
  	}
test_case.class_method_signature: ValidationPreconditionsTest.validate()
test_case.full_signature: @Test public void validate()
test_case.identifier: validate
test_case.invocations: validate expect expectMessage validate
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void validate()
focal_class.file: services/src/main/java/com/greensopinion/finance/services/ValidationPreconditions.java
focal_class.identifier: ValidationPreconditions
focal_class.class_method_signature: ValidationPreconditions.validateNotNull(Object value, String message)
focal_class.full_signature: public static void validateNotNull(Object value, String message)
focal_class.identifier: validateNotNull
focal_class.modifiers: public static
focal_class.parameters: (Object value, String message)
focal_class.return: void
focal_class.signature: void validateNotNull(Object value, String message)
focal_class.class_method_signature: ValidationPreconditions.validateNotNullOrEmpty(String value, String message)
focal_class.full_signature: public static void validateNotNullOrEmpty(String value, String message)
focal_class.identifier: validateNotNullOrEmpty
focal_class.modifiers: public static
focal_class.parameters: (String value, String message)
focal_class.return: void
focal_class.signature: void validateNotNullOrEmpty(String value, String message)
focal_class.class_method_signature: ValidationPreconditions.validateRequired(String value, String propertyName)
focal_class.full_signature: public static void validateRequired(String value, String propertyName)
focal_class.identifier: validateRequired
focal_class.modifiers: public static
focal_class.parameters: (String value, String propertyName)
focal_class.return: void
focal_class.signature: void validateRequired(String value, String propertyName)
focal_class.class_method_signature: ValidationPreconditions.validate(boolean condition, String message)
focal_class.full_signature: public static void validate(boolean condition, String message)
focal_class.identifier: validate
focal_class.modifiers: public static
focal_class.parameters: (boolean condition, String message)
focal_class.return: void
focal_class.signature: void validate(boolean condition, String message)
focal_class.class_method_signature: ValidationPreconditions.checkMessage(String message)
focal_class.full_signature: private static void checkMessage(String message)
focal_class.identifier: checkMessage
focal_class.modifiers: private static
focal_class.parameters: (String message)
focal_class.return: void
focal_class.signature: void checkMessage(String message)
focal_class.class_method_signature: ValidationPreconditions.ValidationPreconditions()
focal_class.full_signature: private  ValidationPreconditions()
focal_class.identifier: ValidationPreconditions
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ValidationPreconditions()
focal_method.body: public static void validate(boolean condition, String message) {
  		checkMessage(message);
  		if (!condition) {
  			throw new ValidationException(message);
  		}
  	}
focal_method.class_method_signature: ValidationPreconditions.validate(boolean condition, String message)
focal_method.full_signature: public static void validate(boolean condition, String message)
focal_method.identifier: validate
focal_method.invocations: checkMessage
focal_method.modifiers: public static
focal_method.parameters: (boolean condition, String message)
focal_method.return: void
focal_method.signature: void validate(boolean condition, String message)