TopNProjection projection = new TopNProjection(10, 0,
Arrays.<Symbol>asList(new InputColumn(0), new InputColumn(1)),
new boolean[]{false, false},
new Boolean[] { null, null }
);
projection.outputs(Arrays.<Symbol>asList(Literal.newLiteral("foo"), new InputColumn(0), new InputColumn(1)));
Projector projector = visitor.process(projection);
projector.registerUpstream(null);
assertThat(projector, instanceOf(SortingTopNProjector.class));
projector.startProjection();