Reports invalid transactional lifecycle method declarations annotated with @BeforeTransaction and @AfterTransaction in testing classes annotated as @Transactional.

Annotated methods must have no arguments and no return type.

Example:


  @ContextConfiguration
  @Transactional
  public class AbstractShowcaseTest {
    @BeforeTransaction // Expected method return type is 'void'
    public boolean setupData() {...}

    @AfterTransaction // Wrong number of arguments
    public void disposeData(boolean a) throws Exception {...}
  }