KubernetesEnvironmentValidator { public void validate(KubernetesEnvironment env) throws ValidationException { podsValidator.validate(env); } @Inject  KubernetesEnvironmentValidator(KubernetesEnvironmentPodsValidator podsValidator); void validate(KubernetesEnvironment env);  }
@Test public void shouldPerformChecksOnEnvironmentValidation() throws Exception { environmentValidator.validate(kubernetesEnvironment); podsValidator.validate(kubernetesEnvironment); }