@Test public void shouldRejectNumberOfLoadBalancingConfigurationsOnPut() { host = new Host(); host.setIpv4Public("100.10.100.10"); host.setNumberOfLoadBalancingConfigurations(1234); res = hv.validate(host, PUT); assertFalse(resultMessage(res, PUT), res.passedValidation()); }
@Override public ValidatorResult validate(Host host, Object ctx) { return validator.validate(host, ctx); }
HostValidator implements ResourceValidator<Host> { @Override public ValidatorResult validate(Host host, Object ctx) { return validator.validate(host, ctx); } }
HostValidator implements ResourceValidator<Host> { @Override public ValidatorResult validate(Host host, Object ctx) { return validator.validate(host, ctx); } HostValidator(); }
HostValidator implements ResourceValidator<Host> { @Override public ValidatorResult validate(Host host, Object ctx) { return validator.validate(host, ctx); } HostValidator(); @Override ValidatorResult validate(Host host, Object ctx); @Override Validator<Host> getValidator(); }
HostValidator implements ResourceValidator<Host> { @Override public ValidatorResult validate(Host host, Object ctx) { return validator.validate(host, ctx); } HostValidator(); @Override ValidatorResult validate(Host host, Object ctx); @Override Validator<Host> getValidator();  }