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