@Test public void firstType() { types.add(FIRST_KEY); types.add(SECOND_KEY); assertThat(DisplayUtil.getType(node)) .isEqualTo(FIRST_KEY); }
public static String getType(GraphNode node) { return node.getTypes().size() > 0 ? node.getTypes().get(0) : ""; }
DisplayUtil { public static String getType(GraphNode node) { return node.getTypes().size() > 0 ? node.getTypes().get(0) : ""; } }
DisplayUtil { public static String getType(GraphNode node) { return node.getTypes().size() > 0 ? node.getTypes().get(0) : ""; }  }
DisplayUtil { public static String getType(GraphNode node) { return node.getTypes().size() > 0 ? node.getTypes().get(0) : ""; }  static String getProperty(GraphNode node); static String getType(GraphNode node); static String getTooltipTitle(GraphEntity entity); static String getTooltipText(GraphEntity entity); }
DisplayUtil { public static String getType(GraphNode node) { return node.getTypes().size() > 0 ? node.getTypes().get(0) : ""; }  static String getProperty(GraphNode node); static String getType(GraphNode node); static String getTooltipTitle(GraphEntity entity); static String getTooltipText(GraphEntity entity);  }