@Test
public void testBlank() {

	FileDefinition file = new FileDefinition( new File( "some-file" ));
	BlockBlank block = new BlockBlank( file, "" );
	Assert.assertEquals( 0, ParsingModelValidator.validate( block ).size());
	block = new BlockBlank( file, "\t\n" );
	Assert.assertEquals( 0, ParsingModelValidator.validate( block ).size());
	block = new BlockBlank( file, "\t  \n   \n  " );
	Assert.assertEquals( 0, ParsingModelValidator.validate( block ).size());
	block = new BlockBlank( file, "\nInvalid blank line\n" );
	Collection<ParsingError> errors = ParsingModelValidator.validate( block );
	Assert.assertEquals( 1, errors.size());
	Assert.assertEquals( ErrorCode.PM_MALFORMED_BLANK, errors.iterator().next().getErrorCode());
}