MondrianImportHandler implements IPlatformImportHandler { @Override public List<IMimeType> getMimeTypes() { return mimeTypes; } MondrianImportHandler( List<IMimeType> mimeTypes, final IMondrianCatalogService mondrianImporter ); void importFile( IPlatformImportBundle bundle ); @Override List<IMimeType> getMimeTypes();  }
@Test public void testGetMymeTypes() { List<IMimeType> mimeTypes = Arrays.asList( mock( IMimeType.class ) ); MondrianImportHandler handler = new MondrianImportHandler( mimeTypes, mondrianImporter ); assertEquals( mimeTypes, handler.getMimeTypes() ); }