@Test
public void testFindIcon_app() throws Exception {

	File appDir = this.folder.newFolder();
	File descDir = new File( appDir, Constants.PROJECT_DIR_DESC );
	Assert.assertTrue( descDir.mkdirs());
	File trickFile = new File( descDir, "directory.jpg" );
	Assert.assertTrue( trickFile.mkdirs());
	Application app = new Application( "app", new TestApplicationTemplate()).directory( appDir );
	Assert.assertNull( IconUtils.findIcon( app ));
	File singleJpgFile = new File( descDir, "whatever.jpg" );
	Assert.assertTrue( singleJpgFile.createNewFile());
	Assert.assertEquals( singleJpgFile, IconUtils.findIcon( app ));
	File defaultFile = new File( descDir, "application.sVg" );
	Assert.assertTrue( defaultFile.createNewFile());
	Assert.assertEquals( defaultFile, IconUtils.findIcon( app ));
}