### Question:
BusinessGlobalTransactionAspect { @Pointcut("@annotation(io.kermoss.trx.app.annotation.BusinessGlobalTransactional)") public void globalTransactionPointcut(){ throw new PoincutDefinitionException(); } BusinessGlobalTransactionAspect(BusinessGlobalTransactionManager businessTransactionManager, ApplicationEventPublisher applicationEventPublisher); @Pointcut("@annotation(io.kermoss.trx.app.annotation.BusinessGlobalTransactional)") void globalTransactionPointcut(); @Pointcut("@annotation(io.kermoss.trx.app.annotation.CommitBusinessGlobalTransactional)") void commitLocalTransactionPointcut(); @Around("globalTransactionPointcut()") void beginLocalTransaction(ProceedingJoinPoint pjp); @Around("commitLocalTransactionPointcut()") void moveLocalTransaction(ProceedingJoinPoint pjp);  }### Answer:
@Test(expected = PoincutDefinitionException.class) public void testGlobalTransactionPointcut() { businessGlobalTransactionAspectUnderTest.globalTransactionPointcut(); }