### Question:
ColumnHeaderParser { public String readClassColumn(String name) { if (StringUtils.isBlank(name)) { throw new MetadataReadingException("Missing column name."); } String[] chunks = name.split(NAME_DELIMITER); if (chunks.length != CLASS_COLUMN_PARTS || !REFERENCE_SUFFIX.equals(chunks[1])) { throw new MetadataReadingException("First column must match format: 'Type:ID'."); } if (StringUtils.isBlank(chunks[0])) { throw new MetadataReadingException("Entity type shouldn't be empty"); } return chunks[0]; }  String readClassColumn(String name); EntityTypeField readFieldColumn(String name);  }### Answer:
@Test public void readClassColumn() throws Exception { assertEquals(CLASS_NAME, parser.readClassColumn(VALID_CLASS_COLUMN)); }
@Test(expected = MetadataReadingException.class) public void readInvalidClassColumn() throws Exception { parser.readClassColumn(INVALID_CLASS_COLUMN); }