### Question:
MusicFactoryImpl extends RecordFactoryImpl<Music, MusicImpl> implements MusicFactory { public List<Music> findAllForSignature(User inUser) { final long user_id = inUser.getId(); final List<Object> theValues = Arrays.asList(new Object[] { Music.TYPE_MP3_SIGNATURE, user_id, MusicStyle.CATEGORIE_MP3_PERSO, MusicStyle.CATEGORIE_TTS_PERSO }); return findAll("music_type = ? or" + "( music_owner = ? and music_styleid IN ( ?, ? ))", theValues, " music_name "); } MusicFactoryImpl(); boolean usesFiles(Files inFile); long countItemsOfUserByMimeType(User inOwner, String ensembleMimeTypes); Music createNewMusic(User theUser, Files inFile); Music createNewMusic(Files inFile, String name, User inOwner, int styleid, int share); Music create(Files inFile, Lang inLang, String name, User inOwner, int styleid, int share, int type); Music findByIdOrUser(long id, User user); Music findNabshareRand(); Music findNabshareRand(Lang inLang); Music findRandomClin(long idCateg, Lang inLang); Music findRandomClin(Lang lang); Music findRandomInBiblio(); Music findByFile(Files inFile); List<Music> findAllForSignature(User inUser); List<Music> findAllByUserIdAndType(User inOwner, String ensembleMimeTypes, int skip, int count); List<Music> findRecentsByType(String ensembleMimeTypes, int count); List<Music> findAllClin(Lang inLang, long idCateg); List<Music> findAllForAlarmClock(Lang inLang); List<Music> findAllForBiblio(int inMusicStyleId); List<Music> findAllNabshareByOwner(User user); List<Music> findAllPersoByUser(User inUser); List<Music> findByStyle(long inMusicStyleId); List<Music> findByTagAndLang(String inTag, Lang inLang); List<Music> findByNabshareCategAndLang(long idNabshareCateg, Lang inLang); List<Music> findByNabshareCategName(String categoryName, int skip, int count); List<Music> findAllStylesByTypeAndLang(long type, Lang inLang, String categoryName, int skip, int count); List<Music> findAllSignatures();  }### Answer:
@Test public void findAllForSignatureTest() { final User theOwner103 = Factories.USER.find(103L); final List<Music> theResult = Factories.MUSIC.findAllForSignature(theOwner103); Assert.assertNotNull(theResult); Assert.assertTrue(theResult.size() > 0); }