AbstractNode implements MediaNode { @Override public String getId() { return id; } AbstractNode(final NodeType type, final String id, final String parentId, final String name); @Override String getId(); @Override String getParentId(); @Override String getName(); @Override NodeType getType(); @Override Long getModifiedDate(); @Override void setModifiedDate(final Long modifiedDate); @Override String getIconUrl(); @Override void setIconUrl(final String iconUrl); @Override @SuppressWarnings("NullableProblems") int compareTo(final MediaNode o); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testGetId() { AbstractNodeTester node = buildAbstractNodeTester(""); assertEquals(node.getId(), "id"); }