@Test
public void getActionCreatedColumns_should_cleanup_transformation_context() throws Exception {

    // given
    RowMetadata workingMetadata = new RowMetadata();
    workingMetadata.addColumn(createColumnNamed("do"));
    // when
    doAnswer(answer(emptyList(), emptyList(), firstActionStuffInActionContext)) //
            .when(firstRowAction) //
            .compile(any(ActionContext.class) //
    );
    doAnswer(answer(emptyList(), emptyList(), secondActionStuffInActionContext)) //
            .when(secondRowAction) //
            .compile(any(ActionContext.class) //
    );
    onActionsGenerator.computeCreatedColumns(newArrayList(firstAction, secondAction), workingMetadata);
    // then
    verify(firstActionStuffInActionContext).destroy();
    verify(secondActionStuffInActionContext).destroy();
}