@Test
public void testUknown() {

	FileDefinition file = new FileDefinition( new File( "some-file" ));
	AbstractBlock block = new AbstractBlock( file ) {
		@Override
		public int getInstructionType() {
			return 501;
		}
	};
	Collection<ParsingError> errors = ParsingModelValidator.validate( block );
	Assert.assertEquals( 1, errors.size());
	Assert.assertEquals( ErrorCode.PM_INVALID_BLOCK_TYPE, errors.iterator().next().getErrorCode());
}