/* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.jpa.qualified_abstract_entity_test_name) %>;

@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public abstract class <%= repository.jpa.abstract_entity_test_name %>
  extends org.realityforge.guiceyloops.server.AbstractServerTest
{
  @javax.annotation.Nonnull
  protected com.google.inject.Module getEntityModule()
  {
    return new <%= repository.jpa.qualified_persistent_test_module_name %>( true );
  }

  @java.lang.Override
  protected com.google.inject.Module[] getModules()
  {
    final java.util.ArrayList<com.google.inject.Module> modules = new java.util.ArrayList<>();
    java.util.Collections.addAll( modules, super.getModules() );
<% repository.jpa.extra_test_modules.each do |test_module| %>
    modules.add( new <%= test_module %>() );
<% end -%>
    modules.add( new <%= repository.jpa.qualified_ejb_module_name %>() );
    return modules.toArray( new com.google.inject.Module[ modules.size() ] );
  }
}

/* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.jpa.qualified_abstract_entity_test_name) %>;

@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public abstract class <%= repository.jpa.abstract_entity_test_name %>
  extends org.realityforge.guiceyloops.server.AbstractServerTest
{
  @javax.annotation.Nonnull
  protected com.google.inject.Module getEntityModule()
  {
    return new <%= repository.jpa.qualified_persistent_test_module_name %>( true );
  }

  @java.lang.Override
  protected com.google.inject.Module[] getModules()
  {
    final java.util.ArrayList<com.google.inject.Module> modules = new java.util.ArrayList<>();
    java.util.Collections.addAll( modules, super.getModules() );
<% repository.jpa.extra_test_modules.each do |test_module| %>
    modules.add( new <%= test_module %>() );
<% end -%>
    modules.add( new <%= repository.jpa.qualified_dao_module_name %>() );
    return modules.toArray( new com.google.inject.Module[ modules.size() ] );
  }
}

Fix code to reflect name change
Fix code to reflect name change
