@Test
public void testParseDirectory_conflictingIds() throws Exception {

	File dir = this.folder.newFolder();
	Utils.writeStringInto( "id: tid\nhandler: in\nname: na", new File( dir, "t1.properties" ));
	Utils.writeStringInto( "id: tid\nhandler: in\nname: na", new File( dir, "t2.properties" ));
	List<ModelError> errors = TargetValidator.parseDirectory( dir );
	Assert.assertEquals( 1, errors.size());
	Assert.assertEquals( ErrorCode.REC_TARGET_CONFLICTING_ID, errors.get( 0 ).getErrorCode());
}