ReportContentRepository implements Repository { public MimeRegistry getMimeRegistry() { return mimeRegistry; } ReportContentRepository( final RepositoryFile outputFolder ); ContentLocation getRoot(); MimeRegistry getMimeRegistry();  }
@Test public void getMimeRegistry() throws Exception { final RepositoryFile mock = mock( RepositoryFile.class ); final ReportContentRepository reportContentRepository = new ReportContentRepository( mock ); assertTrue( reportContentRepository.getMimeRegistry() instanceof DefaultMimeRegistry ); }