NdkEntityFactory { public Import createSheetMusicImport( ModsDefinition titleMods, MixType mix, ErrorHandler status ) throws SAXException { return createOtherEntityImport(titleMods, "sheetmusic", mix, status, false); }  Import createMultipartMonographImport(
            ModsDefinition titleMods,  ModsDefinition volumeMods,
            MixType mix, ErrorHandler status
            ); Import createMonographImport(
            ModsDefinition volumeMods, MixType mix, ErrorHandler status, boolean eBorn
            ); Import createMusicDocumentImport(ModsDefinition documentMods, ErrorHandler status); Import createPeriodicalIssueImport(
            ModsDefinition titleMods, ModsDefinition volumeMods,
            ModsDefinition issueMods, MixType mix, ErrorHandler status, boolean eBorn
            ); Import createCartographicImport(
            ModsDefinition titleMods, MixType mix, ErrorHandler status
            ); Import createSheetMusicImport(
            ModsDefinition titleMods, MixType mix, ErrorHandler status
            ); Import createOtherEntityImport(
            ModsDefinition titleMods, String documentType, MixType mix, ErrorHandler status, boolean eBorn
            );  }
@Test public void testCreateSheetMusicImport() throws Exception { ModsDefinition titleMods = mods("registration/ndkSheetMusic.xml"); MixType mix = mix("registration/mix.xml"); Import imp = factory.createSheetMusicImport(titleMods, mix, null); assertNotNull(imp); OtherEntity entity = imp.getOtherEntity(); assertNotNull(entity); assertEquals("cnb002405684", entity.getCcnb()); assertEquals("sheetmusic", entity.getDocumentType()); assertEquals("978-80-7262-933-6 (brož.)", entity.getIsbn()); assertEquals("Xpěvník", entity.getTitleInfo().getTitle()); assertNull(entity.getTitleInfo().getSubTitle()); assertNotNull(imp.getDigitalDocument()); }