@Test
public void return_type_method_with_param()
{
final ReturnTypeService delegate = newTestService();
final EntityManagerManager manager = newMock(EntityManagerManager.class);
final JpaTransactionAdvisor advisor = newJpaTransactionAdvisor(manager);
final EntityManager entityManager = newMock(EntityManager.class);
final EntityTransaction transaction = newMock(EntityTransaction.class);
final AspectInterceptorBuilder<ReturnTypeService> builder = aspectDecorator.createBuilder(
ReturnTypeService.class, delegate, "foo.Bar");
advisor.addTransactionCommitAdvice(builder);
final ReturnTypeService interceptor = builder.build();
train_getActiveTransaction(manager, entityManager, transaction);
delegate.returnTypeMethodWithParam(5, 3);