@Test
public void testFormatError_en() {

	final String msg = "This component cannot have any parent. It cannot be instantiated under this instance.";
	List<RoboconfError> errors = new ArrayList<> ();
	errors.add( new RoboconfError( CMD_CANNOT_HAVE_ANY_PARENT ));
	errors.add( new RoboconfError( CMD_CANNOT_HAVE_ANY_PARENT, name( "oops" )));
	errors.add( new RoboconfError( CMD_CANNOT_HAVE_ANY_PARENT, value( "oops" )));
	errors.add( new RoboconfError( CMD_CANNOT_HAVE_ANY_PARENT, unexpected( "oops." )));
	errors.add( new ParsingError( CMD_CANNOT_HAVE_ANY_PARENT, new File( "/test" ), 24 ));
	errors.add( new ParsingError( CMD_CANNOT_HAVE_ANY_PARENT, new File( "/test" ), 21, name( "you" ), variable( "v" )));
	List<String> errorMessages = new ArrayList<>( RoboconfErrorHelpers.formatErrors( errors, TranslationBundle.EN, true ).values());
	Assert.assertEquals( errors.size(), errorMessages.size());
	Assert.assertEquals(
			"[ " + CMD_CANNOT_HAVE_ANY_PARENT.getCategory().name().toLowerCase() + " ] " + msg,
			errorMessages.get( 0 ));
	Assert.assertEquals(
			"[ " + CMD_CANNOT_HAVE_ANY_PARENT.getCategory().name().toLowerCase() + " ] " + msg + " Name: oops",
			errorMessages.get( 1 ));
	Assert.assertEquals(
			"[ " + CMD_CANNOT_HAVE_ANY_PARENT.getCategory().name().toLowerCase() + " ] " + msg + " Value: oops",
			errorMessages.get( 2 ));
	Assert.assertEquals(
			"[ " + CMD_CANNOT_HAVE_ANY_PARENT.getCategory().name().toLowerCase() + " ] " + msg + " Unexpected: oops.",
			errorMessages.get( 3 ));
	Assert.assertEquals(
			"[ " + CMD_CANNOT_HAVE_ANY_PARENT.getCategory().name().toLowerCase() + " ] " + msg + " File: /test. Line number: 24",
			errorMessages.get( 4 ));
	Assert.assertEquals(
			"[ " + CMD_CANNOT_HAVE_ANY_PARENT.getCategory().name().toLowerCase() + " ] " + msg + " Name: you. Variable: v. File: /test. Line number: 21",
			errorMessages.get( 5 ));
}