@Test
public void testRollBack() {

	final LocalTransactionStepDefinition localTransactionStepDefinition = mock(LocalTransactionStepDefinition.class);
	final GlobalTransaction globalTransaction = mock(GlobalTransaction.class);
	when(localTransactionStepDefinition.getMeta()).thenReturn(new WorkerMeta("XXX"));
	doReturn(Optional.of(globalTransaction)).when(businessLocalTransactionManagerImplUnderTest).getGlobalTransaction(localTransactionStepDefinition);
	LocalTransaction localTransaction = mock(LocalTransaction.class);
Nothing().when(businessLocalTransactionManagerImplUnderTest).markAsRollbacked(localTransaction, localTransactionStepDefinition);
	when(localTransactionStepDefinition.getIn()).thenReturn(new ErrorOccured());
	doReturn(Optional.of(localTransaction)).when(businessLocalTransactionManagerImplUnderTest).getLocalTransaction(anyString(),anyString(),Optional.ofNullable(any(ArrayList.class)));
	businessLocalTransactionManagerImplUnderTest.rollBack(localTransactionStepDefinition);
	
}