### Question:
RuntimeDelegate { public abstract ResourceSnapshotResolver createResourceResolver(URI canonicalBase, ReadSession session); protected  RuntimeDelegate(); static RuntimeDelegate getInstance(); static void setInstance(final RuntimeDelegate delegate); abstract boolean isOffline(); abstract WriteSession createSession(); abstract ResourceSnapshotResolver createResourceResolver(URI canonicalBase, ReadSession session); abstract void registerShutdownListener(ShutdownListener listener); static final String APPLICATION_ENGINE_SPI_FINDER; static final String APPLICATION_ENGINE_SPI_CFG; static final String APPLICATION_ENGINE_SPI_PROPERTY; }### Answer:
@Test public void testCreateResourceResolver$defaultImplementation() throws Exception { assertThat(sut().createResourceResolver(canonicalBase,session),notNullValue()); }
@Test public void testDefaultResourceSnapshotResolver$resolveSnapshot() throws Exception { ResourceSnapshotResolver resolver = sut().createResourceResolver(canonicalBase,session); assertThat(resolver.resolve(snapshot),nullValue()); }
@Test public void testDefaultResourceSnapshotResolver$resolveURI() throws Exception { ResourceSnapshotResolver resolver = sut().createResourceResolver(canonicalBase,session); assertThat(resolver.resolve(endpoint),nullValue()); }