@Test
public void testGetLocalTransactionWhenGlobalTxNotExist() {

    when(mockGlobalTransactionRepository.findById(anyString())).thenReturn(Optional.empty());
    // Run the test
    final Optional<LocalTransaction> result = businessLocalTransactionManagerImplUnderTest.getLocalTransaction(anyString(), anyString(),any());
    // Verify the results
    assertEquals(Optional.empty(), result);
}