@Test public void initTransactionPluginTest4() { Collection<Class<?>> implementsTransactionHandlerClasses = new ArrayList<>(); implementsTransactionHandlerClasses.add(TransactionHandlerTestImpl.class); InitState initState = pluginUnderTest.init( mockInitContext2(LocalTransactionManager.class, implementsTransactionHandlerClasses)); Assertions.assertThat(initState).isEqualTo(InitState.INITIALIZED); Object object = pluginUnderTest.nativeUnitModule(); Assertions.assertThat(object).isNotNull(); Assertions.assertThat(object).isInstanceOf(TransactionModule.class); }
@Override public Object nativeUnitModule() { return new TransactionModule( this.transactionManager, this.transactionMetadataResolvers ); }
TransactionPlugin extends AbstractSeedPlugin { @Override public Object nativeUnitModule() { return new TransactionModule( this.transactionManager, this.transactionMetadataResolvers ); } }
TransactionPlugin extends AbstractSeedPlugin { @Override public Object nativeUnitModule() { return new TransactionModule( this.transactionManager, this.transactionMetadataResolvers ); }  }
TransactionPlugin extends AbstractSeedPlugin { @Override public Object nativeUnitModule() { return new TransactionModule( this.transactionManager, this.transactionMetadataResolvers ); }  @Override String name(); @Override Collection<ClasspathScanRequest> classpathScanRequests(); @Override InitState initialize(InitContext initContext); @Override Object nativeUnitModule(); boolean isTransactional(Method method); }
TransactionPlugin extends AbstractSeedPlugin { @Override public Object nativeUnitModule() { return new TransactionModule( this.transactionManager, this.transactionMetadataResolvers ); }  @Override String name(); @Override Collection<ClasspathScanRequest> classpathScanRequests(); @Override InitState initialize(InitContext initContext); @Override Object nativeUnitModule(); boolean isTransactional(Method method);  }