@Test
public void testParseTargetProperties_ok() throws Exception {

	File dir = new File( this.folder.newFolder(), Constants.PROJECT_DIR_GRAPH + "/c" );
	Utils.createDirectory( dir );
	Utils.writeStringInto( "id: tid1\nhandler: in", new File( dir, "t1.properties" ));
	List<ModelError> errors = TargetValidator.parseTargetProperties( dir.getParentFile().getParentFile(), new Component( "c" ));
	Assert.assertEquals( 1, errors.size());
	Assert.assertEquals( ErrorCode.REC_TARGET_NO_NAME, errors.get( 0 ).getErrorCode());
}