### Question:
VertexMetadata { public boolean isVertex(CSVRecord record) { return !record.get(0).isEmpty(); } private  VertexMetadata(Headers headers, int lastColumnIndex, PropertyValueParser parser); static VertexMetadata parse(CSVRecord record, PropertyValueParser parser); List<String> headers(); boolean isVertex(CSVRecord record); Iterable<String> toIterable(CSVRecord record);  }### Answer:
@Test public void shouldIndicateWhetherARecordContainsAVertex() { String columnHeaders = "\"_id\",\"_labels\",\"address\",\"name\",\"index\",\"txid\",\"_start\",\"_end\",\"_type\",\"strength\",\"timestamp\""; VertexMetadata vertexMetadata = createVertexMetadata(columnHeaders); CSVRecord vertexRecord = CSVUtils.firstRecord("\"1\",\"Person\",\"address\",\"name\",\"1\",\"1\",,,,,"); CSVRecord edgeRecord = CSVUtils.firstRecord(",,,,,,\"1\",\"2\",\"KNOWS\",\"10\",\"12345\""); assertTrue(vertexMetadata.isVertex(vertexRecord)); assertFalse(vertexMetadata.isVertex(edgeRecord)); }