use of org.pentaho.metaverse.frames.GroupByStepNode in project pentaho-metaverse by pentaho.
the class MetaverseValidationIT method testGroupByStep.
@Test
public void testGroupByStep() throws Exception {
GroupByStepNode groupByStepNode = root.getGroupByStepNode();
assertNotNull(groupByStepNode);
GroupByMeta meta = (GroupByMeta) getStepMeta(groupByStepNode);
int countUses = getIterableSize(groupByStepNode.getStreamFieldNodesUses());
int expectedUsesLinksCount = meta.getSubjectField().length + meta.getGroupField().length;
assertEquals(expectedUsesLinksCount, countUses);
}
Aggregations