@Test
public void testBasic() throws Exception {

    IgniteEx ignite = startGrid(0);
    TransactionsMXBean bean = txMXBean(0);
    ignite.transactions().txStart();
    ignite.cache(DEFAULT_CACHE_NAME).put(0, 0);
    String res = bean.getActiveTransactions(null, null, null, null, null, null, null, null, false, false);
    assertEquals("1", res);
    res = bean.getActiveTransactions(null, null, null, null, null, null, null, null, true, false);
    assertTrue(res.indexOf("Tx:") > 0);
    res = bean.getActiveTransactions(null, null, null, null, null, null, null, null, false, true);
    assertEquals("1", res);
    doSleep(500);
    res = bean.getActiveTransactions(null, null, null, null, null, null, null, null, false, false);
    assertEquals("0", res);
}