@Test public void hasCereebroMetadata() { metadata.put(CereebroMetadata.KEY_SNITCH_URI, "http: Assertions.assertThat(ServiceInstanceSnitch.hasCereebroMetadata(serviceInstanceMock)).isTrue(); }
public static boolean hasCereebroMetadata(ServiceInstance instance) { return extractSnitchURI(instance).isPresent(); }
ServiceInstanceSnitch implements Snitch { public static boolean hasCereebroMetadata(ServiceInstance instance) { return extractSnitchURI(instance).isPresent(); } }
ServiceInstanceSnitch implements Snitch { public static boolean hasCereebroMetadata(ServiceInstance instance) { return extractSnitchURI(instance).isPresent(); } ServiceInstanceSnitch(ObjectMapper mapper, ServiceInstance instance); }
ServiceInstanceSnitch implements Snitch { public static boolean hasCereebroMetadata(ServiceInstance instance) { return extractSnitchURI(instance).isPresent(); } ServiceInstanceSnitch(ObjectMapper mapper, ServiceInstance instance); static Snitch of(ObjectMapper mapper, ServiceInstance instance); static boolean hasCereebroMetadata(ServiceInstance instance); boolean hasCereebroMetadata(); @Override URI getUri(); @Override SystemFragment snitch(); }
ServiceInstanceSnitch implements Snitch { public static boolean hasCereebroMetadata(ServiceInstance instance) { return extractSnitchURI(instance).isPresent(); } ServiceInstanceSnitch(ObjectMapper mapper, ServiceInstance instance); static Snitch of(ObjectMapper mapper, ServiceInstance instance); static boolean hasCereebroMetadata(ServiceInstance instance); boolean hasCereebroMetadata(); @Override URI getUri(); @Override SystemFragment snitch();  }