@Test
public void testGetHooks() {

    assertThat(TransactionHookManager.getHooks()).isEmpty();
    TransactionHookManager.registerHook(new TransactionHookAdapter());
    assertThat(TransactionHookManager.getHooks()).isNotEmpty();
}