/* DO NOT EDIT: File is auto-generated */
package <%= to_package(data_module.sync.qualified_master_sync_service_test_name) %>;

@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public abstract class <%= data_module.sync.master_sync_service_test_name %>
  extends <%= data_module.repository.ejb.qualified_base_service_test_name %>
{
  private iris.rose.server.service.master.SyncTempFactory $syncTempFactory;

  @org.testng.annotations.BeforeMethod
  @java.lang.Override
  public void preTest()
    throws java.lang.Exception
  {
    super.preTest();
    $syncTempFactory = new <%= data_module.sync.qualified_sync_temp_factory_name %>( em() );
  }

  protected iris.rose.server.service.master.SyncTempFactory getSyncTempFactory()
  {
    return $syncTempFactory;
  }

  @javax.annotation.Nonnull
  protected final iris.syncrecord.server.entity.Synchronization doSyncAndLoadResults( @javax.annotation.Nonnull final String dataSource, @javax.annotation.Nonnull final String statusCode )
  {
    return iris.syncrecord.server.test.util.SyncAssert.ensureSynchronization( doSync( dataSource ), dataSource, statusCode, s( iris.syncrecord.server.service.SyncRecordService.class ) );
  }

  @javax.annotation.Nonnull
  protected abstract iris.syncrecord.server.data_type.SyncStatusDTO doSync( @javax.annotation.Nonnull String dataSource );
}

/* DO NOT EDIT: File is auto-generated */
package <%= to_package(data_module.sync.qualified_master_sync_service_test_name) %>;

@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public abstract class <%= data_module.sync.master_sync_service_test_name %>
  extends <%= data_module.repository.ejb.qualified_base_service_test_name %>
{
  private <%= data_module.sync.qualified_sync_temp_factory_name %> $syncTempFactory;

  @org.testng.annotations.BeforeMethod
  @java.lang.Override
  public void preTest()
    throws java.lang.Exception
  {
    super.preTest();
    $syncTempFactory = new <%= data_module.sync.qualified_sync_temp_factory_name %>( em() );
  }

  protected <%= data_module.sync.qualified_sync_temp_factory_name %> getSyncTempFactory()
  {
    return $syncTempFactory;
  }

  @javax.annotation.Nonnull
  protected final iris.syncrecord.server.entity.Synchronization doSyncAndLoadResults( @javax.annotation.Nonnull final String dataSource, @javax.annotation.Nonnull final String statusCode )
  {
    return iris.syncrecord.server.test.util.SyncAssert.ensureSynchronization( doSync( dataSource ), dataSource, statusCode, s( iris.syncrecord.server.service.SyncRecordService.class ) );
  }

  @javax.annotation.Nonnull
  protected abstract iris.syncrecord.server.data_type.SyncStatusDTO doSync( @javax.annotation.Nonnull String dataSource );
}

Make sure the reference to correct SyncTempFactory is used
Make sure the reference to correct SyncTempFactory is used
