@Test public void createSetsOfString() { Tuple<Set> tuple = SET_FACTORY.createValues(STRINGSET_TYPETAG, prefabValues, typeStack); assertEquals(setOf(red), tuple.getRed()); assertEquals(setOf(black), tuple.getBlack()); }
@Test public void createRawLists() { Tuple<List> tuple = LIST_FACTORY.createValues(RAWLIST_TYPETAG, prefabValues, typeStack); assertEquals(listOf(redObject), tuple.getRed()); assertEquals(listOf(blackObject), tuple.getBlack()); }
@Test public void createListsOfString() { Tuple<List> tuple = LIST_FACTORY.createValues(STRINGLIST_TYPETAG, prefabValues, typeStack); assertEquals(listOf(red), tuple.getRed()); assertEquals(listOf(black), tuple.getBlack()); }