(no commit message)
[utils] / security / jpatest / src / test / java / org / wamblee / security / authentication / jpa / JpaGroupSetTest.java
index aa736302f622041f1e31569d182085accf27baae..0c645ff668533b3caa8f0fce0ab4961cba8dac76 100644 (file)
@@ -7,11 +7,9 @@ import org.junit.After;
 import org.junit.Before;
 import org.wamblee.security.authentication.GroupSet;
 import org.wamblee.security.authentication.InMemoryGroupSetTest;
-import org.wamblee.security.authentication.jpa.JpaGroupSet;
 import org.wamblee.test.persistence.JpaTester;
-import org.wamblee.test.persistence.TransactionProxyFactory;
 import org.wamblee.test.persistence.DatabaseUtils.JdbcUnitOfWork;
-
+import org.wamblee.test.transactions.TransactionProxyFactory;
 
 public class JpaGroupSetTest extends InMemoryGroupSetTest {
 
@@ -26,8 +24,9 @@ public class JpaGroupSetTest extends InMemoryGroupSetTest {
     public void setUp() throws Exception {
         jpaTester = new JpaTester(new SecurityPersistenceUnit());
         jpaTester.start();
-   
-        // Superclass setup will call createGroupSet so requires initialized JPA. 
+
+        // Superclass setup will call createGroupSet so requires initialized
+        // JPA.
         super.setUp();
     }
 
@@ -71,7 +70,8 @@ public class JpaGroupSetTest extends InMemoryGroupSetTest {
     protected GroupSet createGroupSet() {
         TransactionProxyFactory<GroupSet> factory = new TransactionProxyFactory<GroupSet>(
             jpaTester.getJpaBuilder(), GroupSet.class);
-        GroupSet groupset = new JpaGroupSet(factory.getTransactionScopedEntityManager());
+        GroupSet groupset = new JpaGroupSet(factory
+            .getTransactionScopedEntityManager());
         GroupSet proxy = factory.getProxy(groupset);
         return proxy;
     }