@Test public void testIsResolvable() { for(Entry<URIDescriptor,Boolean> entry:candidateMap.entrySet()) { assertThat("Resolution of "+entry.getKey()+" failed",entry.getKey().isResolvable(),equalTo(entry.getValue())); } }
boolean isResolvable() { return scope.equals(Scope.APPLICATION) || scope.equals(Scope.ENDPOINT) || scope.equals(Scope.RESOURCE); }
URIDescriptor { boolean isResolvable() { return scope.equals(Scope.APPLICATION) || scope.equals(Scope.ENDPOINT) || scope.equals(Scope.RESOURCE); } }
URIDescriptor { boolean isResolvable() { return scope.equals(Scope.APPLICATION) || scope.equals(Scope.ENDPOINT) || scope.equals(Scope.RESOURCE); } private  URIDescriptor(URIDescriptor.Scope scope, URIDescriptor.Type type); }
URIDescriptor { boolean isResolvable() { return scope.equals(Scope.APPLICATION) || scope.equals(Scope.ENDPOINT) || scope.equals(Scope.RESOURCE); } private  URIDescriptor(URIDescriptor.Scope scope, URIDescriptor.Type type); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
URIDescriptor { boolean isResolvable() { return scope.equals(Scope.APPLICATION) || scope.equals(Scope.ENDPOINT) || scope.equals(Scope.RESOURCE); } private  URIDescriptor(URIDescriptor.Scope scope, URIDescriptor.Type type); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }