@Test
public void testFindTargetById() throws Exception {

	File dir = new File( this.configurationMngr.getWorkingDirectory(), ConfigurationUtils.TARGETS + "/5" );
	Utils.createDirectory( dir );
	Utils.writeStringInto( "prop: done\nhandler = test", new File( dir, Constants.TARGET_PROPERTIES_FILE_NAME ));
	TargetWrapperDescriptor twb = this.mngr.findTargetById( dir.getName());
	Assert.assertNotNull( twb );
	Assert.assertEquals( dir.getName(), twb.getId());
	Assert.assertEquals( "test", twb.getHandler());
	Assert.assertFalse( twb.isDefault());
	Assert.assertNull( twb.getName());
	Assert.assertNull( twb.getDescription());
}