@Test public void verifyService() { { Assert.assertFalse(Conditions.verifyService(new Service())); } { Assert.assertTrue(Conditions.verifyService(new Service(Services.newServiceId()))); } }
public static boolean verifyService(final Service service) { return (service != null) && !StringValues.isNullOrWhitespace(service.getServiceId()); }
Conditions { public static boolean verifyService(final Service service) { return (service != null) && !StringValues.isNullOrWhitespace(service.getServiceId()); } }
Conditions { public static boolean verifyService(final Service service) { return (service != null) && !StringValues.isNullOrWhitespace(service.getServiceId()); }  }
Conditions { public static boolean verifyService(final Service service) { return (service != null) && !StringValues.isNullOrWhitespace(service.getServiceId()); }  static boolean verifyInstance(final Instance instance); static boolean verifyInstances(final Instance[] instances); static boolean verifyInstances(final Collection<Instance> instances); static boolean verifyService(final Service service); static boolean verifyServices(final Collection<Service> services); }
Conditions { public static boolean verifyService(final Service service) { return (service != null) && !StringValues.isNullOrWhitespace(service.getServiceId()); }  static boolean verifyInstance(final Instance instance); static boolean verifyInstances(final Instance[] instances); static boolean verifyInstances(final Collection<Instance> instances); static boolean verifyService(final Service service); static boolean verifyServices(final Collection<Service> services);  }