@Test
public void testParsingWithInvalidRecipeProject_1() throws Exception {

	File dir = TestUtils.findTestFile( "/reusable.recipe.with.errors.1" );
	Assert.assertTrue( dir.exists());
	ApplicationLoadResult alr = RuntimeModelIo.loadApplicationFlexibly( dir );
	RoboconfErrorHelpers.filterErrorsForRecipes( alr );
	Assert.assertEquals( 1, alr.getLoadErrors().size());
	Assert.assertEquals( ErrorCode.RM_UNRESOLVABLE_VARIABLE, alr.getLoadErrors().iterator().next().getErrorCode());
	RoboconfError error = alr.getLoadErrors().iterator().next();
	Assert.assertEquals( 1, error.getDetails().length );
	Assert.assertEquals( ErrorDetailsKind.VARIABLE, error.getDetails()[ 0 ].getErrorDetailsKind());
	Assert.assertTrue( error.getDetails()[ 0 ].getElementName().contains( "f.*" ));
}