@Test public void verifyInstance() { { Assert.assertFalse(Conditions.verifyInstance(new Instance())); } { Assert.assertTrue(Conditions.verifyInstance(Instances.newInstance())); } }
public static boolean verifyInstance(final Instance instance) { return (instance != null) && !StringValues.isNullOrWhitespace(instance.getInstanceId()) && !StringValues.isNullOrWhitespace(instance.getServiceId()) && !StringValues.isNullOrWhitespace(instance.getUrl()); }
Conditions { public static boolean verifyInstance(final Instance instance) { return (instance != null) && !StringValues.isNullOrWhitespace(instance.getInstanceId()) && !StringValues.isNullOrWhitespace(instance.getServiceId()) && !StringValues.isNullOrWhitespace(instance.getUrl()); } }
Conditions { public static boolean verifyInstance(final Instance instance) { return (instance != null) && !StringValues.isNullOrWhitespace(instance.getInstanceId()) && !StringValues.isNullOrWhitespace(instance.getServiceId()) && !StringValues.isNullOrWhitespace(instance.getUrl()); }  }
Conditions { public static boolean verifyInstance(final Instance instance) { return (instance != null) && !StringValues.isNullOrWhitespace(instance.getInstanceId()) && !StringValues.isNullOrWhitespace(instance.getServiceId()) && !StringValues.isNullOrWhitespace(instance.getUrl()); }  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 verifyInstance(final Instance instance) { return (instance != null) && !StringValues.isNullOrWhitespace(instance.getInstanceId()) && !StringValues.isNullOrWhitespace(instance.getServiceId()) && !StringValues.isNullOrWhitespace(instance.getUrl()); }  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);  }