@Test(expected = NullPointerException.class) public void testVerifyValidatorsFailOneNullArg() { ValidationUtil.verifyValidators(mock(HttpValidator.class), null); }
public static void verifyValidators(HttpValidator... validators) { checkArgument(validators != null && validators.length > 0, "Must have at least one validator set."); for (HttpValidator v : validators) { checkNotNull(v, "Cannot have a null validator."); } }
ValidationUtil { public static void verifyValidators(HttpValidator... validators) { checkArgument(validators != null && validators.length > 0, "Must have at least one validator set."); for (HttpValidator v : validators) { checkNotNull(v, "Cannot have a null validator."); } } }
ValidationUtil { public static void verifyValidators(HttpValidator... validators) { checkArgument(validators != null && validators.length > 0, "Must have at least one validator set."); for (HttpValidator v : validators) { checkNotNull(v, "Cannot have a null validator."); } } private  ValidationUtil(); }
ValidationUtil { public static void verifyValidators(HttpValidator... validators) { checkArgument(validators != null && validators.length > 0, "Must have at least one validator set."); for (HttpValidator v : validators) { checkNotNull(v, "Cannot have a null validator."); } } private  ValidationUtil(); static void verifyValidators(HttpValidator... validators); }
ValidationUtil { public static void verifyValidators(HttpValidator... validators) { checkArgument(validators != null && validators.length > 0, "Must have at least one validator set."); for (HttpValidator v : validators) { checkNotNull(v, "Cannot have a null validator."); } } private  ValidationUtil(); static void verifyValidators(HttpValidator... validators);  }