@Test public void testToURI(@Mocked ReadSession session, final @Mocked ResourceSnapshotResolver resolver) throws Exception { SnapshotResolver sut = buildResolver(session, resolver); sut.fromURI(CANONICAL_BASE); new Verifications() {{ resolver.resolve(CANONICAL_BASE); }}; }
public URI toURI(ResourceSnapshot snapshot) { return this.resolver.resolve(snapshot); }
SnapshotResolver { public URI toURI(ResourceSnapshot snapshot) { return this.resolver.resolve(snapshot); } }
SnapshotResolver { public URI toURI(ResourceSnapshot snapshot) { return this.resolver.resolve(snapshot); } private  SnapshotResolver(ResourceSnapshotResolver resolver); }
SnapshotResolver { public URI toURI(ResourceSnapshot snapshot) { return this.resolver.resolve(snapshot); } private  SnapshotResolver(ResourceSnapshotResolver resolver); URI toURI(ResourceSnapshot snapshot); ResourceSnapshot fromURI(URI endpoint); static Builder builder(); }
SnapshotResolver { public URI toURI(ResourceSnapshot snapshot) { return this.resolver.resolve(snapshot); } private  SnapshotResolver(ResourceSnapshotResolver resolver); URI toURI(ResourceSnapshot snapshot); ResourceSnapshot fromURI(URI endpoint); static Builder builder();  }