NodeInfo { @NotNull public Iterable<String> getMixinTypeNames() { return mixinTypeNames; } NodeInfo(String name, String primaryTypeName, Iterable<String> mixinTypeNames,
                    String uuid); String getName(); String getPrimaryTypeName(); @NotNull Iterable<String> getMixinTypeNames(); String getUUID();  }
@Test public void testGetMixinTypeName() { assertEquals(ImmutableList.of("mixin1", "mixin2"), nodeInfo.getMixinTypeNames()); }
@Test public void testGetMixinTypeNameEmpty() { NodeInfo ni = new NodeInfo("name", "primaryType", null, "uuid"); assertFalse(ni.getMixinTypeNames().iterator().hasNext()); }