RobotsLoaderCachedImpl implements RobotsLoader { @Override public void close() throws IOException { delegate.close(); } RobotsLoaderCachedImpl(
            @Nonnull final RobotsLoader delegate,
            @Nonnull final Cache<URI, Robots> cache); @Nonnull @Override Robots load(@Nonnull final URI robotsResource); @Override void close();  }
@Test public void whenClose_thenCloseCalledDelegate() throws IOException { loader.close(); verify(delegate).close(); }