writer = new SkipWriterStub<String>();
factory = new FaultTolerantStepFactoryBean<String, String>();
factory.setBeanName("stepName");
ResourcelessTransactionManager transactionManager = new ResourcelessTransactionManager();
factory.setTransactionManager(transactionManager);
factory.setCommitInterval(2);
reader.clear();
reader.setItems("1", "2", "3", "4", "5");