ContainsHealthyEndPointCheck extends HealthCheck { public static ContainsHealthyEndPointCheck forPool(ServicePool<?> pool) { return new ContainsHealthyEndPointCheck(pool); } private  ContainsHealthyEndPointCheck(ServicePool<?> pool); static ContainsHealthyEndPointCheck forPool(ServicePool<?> pool); static ContainsHealthyEndPointCheck forProxy(Object proxy); @Override Result check();  }
@Test(expected = NullPointerException.class) public void testNullPool() { ContainsHealthyEndPointCheck.forPool(null); }