@Test public void testStepSetUpAsWasStarted_AtProcessingFirstRow() throws KettleException { smp = new SimpleMapping( stepMockHelper.stepMeta, stepMockHelper.stepDataInterface, 0, stepMockHelper.transMeta, stepMockHelper.trans); smp.init(stepMockHelper.initStepMetaInterface, stepMockHelper.initStepDataInterface); smp.getInputRowSets().add(stepMockHelper.getMockInputRowSet(new Object[] {})); assertTrue("The step is processing in first", smp.first); assertTrue(smp.processRow(stepMockHelper.processRowsStepMetaInterface, simpleMpData)); assertFalse("The step is processing not in first", smp.first); assertTrue("The step was started", smp.getData().wasStarted); }