LookupResult { int missingMetadata(AddressTemplate template) { return failFastGet(template); } LookupResult(Set<AddressTemplate> templates); @Override String toString();  }
@Test(expected = MissingMetadataException.class) public void missingMetadata() { lookupResult.missingMetadata(AddressTemplate.of("foo")); }