@Test
public void testValidate_3() throws Exception {

	File f = TestUtils.findTestFile( "/commands/commands-in-error.txt" );
	CommandsParser parser = new CommandsParser( this.app, f );
	Assert.assertEquals( 3, parser.instructions.size());
	List<ParsingError> errors = parser.getParsingErrors();
	Assert.assertEquals( 4, errors.size());
	Assert.assertEquals( ErrorCode.CMD_UNRECOGNIZED_INSTRUCTION, errors.get( 0 ).getErrorCode());
	Assert.assertEquals( 2, errors.get( 0 ).getLine());
	Assert.assertEquals( ErrorCode.CMD_UNRESOLVED_VARIABLE, errors.get( 1 ).getErrorCode());
	Assert.assertEquals( 3, errors.get( 1 ).getLine());
	Assert.assertEquals( ErrorCode.CMD_UNRESOLVED_VARIABLE, errors.get( 1 ).getErrorCode());
	Assert.assertEquals( 4, errors.get( 2 ).getLine());
	Assert.assertEquals( ErrorCode.CMD_UNRESOLVED_VARIABLE, errors.get( 2 ).getErrorCode());
	Assert.assertEquals( 7, errors.get( 3 ).getLine());
}