@Test
public void findTransactionsTest() throws Exception {

  mockMvc.perform(get("/saga/findTransactions?globalTxID=XXXGID"))
      .andExpect(status().isOk())
      .andExpect(jsonPath("$", hasSize(4)));
  mockMvc.perform(get("/saga/findTransactions?microServiceName=XXService"))
      .andExpect(status().isOk())
      .andExpect(jsonPath("$", hasSize(1)));
  mockMvc.perform(get("/saga/findTransactions"))
      .andExpect(status().isOk())
      .andExpect(jsonPath("$", hasSize(0)));
}