}
}
@Test
public void methodValidationWithCascadingParameterAndCascadingConstraint() {
Address address = new Address( null );
Customer customer = new Customer( "Bob", address );
try {
customerRepository.persistCustomer( customer );
fail( "Expected ConstraintViolationException wasn't thrown." );