@Test
public void testInvalidFileType() throws Exception {

	File f = TestUtils.findTestFile( "/configurations/invalid/mix.txt" );
	FileDefinition def = ParsingModelIo.readConfigurationFile( f, true );
	Assert.assertEquals( 1, def.getParsingErrors().size());
	Assert.assertEquals( ErrorCode.P_INVALID_FILE_TYPE, def.getParsingErrors().iterator().next().getErrorCode());
}