@Test
public void testFinish()
throws Exception
{
InfiniteRecordSet records = new InfiniteRecordSet(ImmutableList.<Type>of(VARCHAR, BIGINT), ImmutableList.of("abc", 1L));
OperatorContext operatorContext = driverContext.addOperatorContext(0, RecordProjectOperator.class.getSimpleName());
Operator operator = new RecordProjectOperator(operatorContext, records);
// verify initial state