@Test public void getTypeReturnsTheType() { Link underTest = new Link(edgeMock, 2, 1); assertThat(underTest.getType(), is(RELATION_NAME)); }
public String getType() { return type; }
Link { public String getType() { return type; } }
Link { public String getType() { return type; } Link(Edge edge, int source, int target); }
Link { public String getType() { return type; } Link(Edge edge, int source, int target); int getSource(); int getTarget(); String getType(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
Link { public String getType() { return type; } Link(Edge edge, int source, int target); int getSource(); int getTarget(); String getType(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }