### Question:
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();  }### Answer:
@Test public void testIsResolvable() { for(Entry<URIDescriptor,Boolean> entry:candidateMap.entrySet()) { assertThat("Resolution of "+entry.getKey()+" failed",entry.getKey().isResolvable(),equalTo(entry.getValue())); } }