### Question:
Node { public String getType() { return type; } Node(Vertex vertex, String entityTypeName); String getLabel(); String getType(); String getKey(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void getTypeReturnsTheType() throws IOException { Node underTest = new Node(mockDocumentVertex, null); assertThat(underTest.getType(), is(TYPE)); }