### Question:
TransactionalInterceptor implements MethodInterceptor { @Override public Object invoke(MethodInvocation invocation) throws Throwable { Object result = null; try (Transaction tx = graphDb.beginTx()) { result = invocation.proceed(); tx.success(); } return result; }  @Override Object invoke(MethodInvocation invocation);  }### Answer:
@Test public void testNormalTransaction() throws Throwable { interceptor.invoke(invocation); verify(graphDb).beginTx(); verify(tx).success(); }