(no commit message)
[utils] / test / enterprise / src / test / java / org / wamblee / test / transactions / TransactionProxyFactoryTestBase.java
index 22bb3ff953e01b595b7f3fcd7b14a2ed290b6b54..d46ce2df551d2ab15ad5a749223d4a61e9f8f325 100644 (file)
@@ -75,13 +75,13 @@ public class TransactionProxyFactoryTestBase {
 
     @Test
     public void testEntityManagerIsPassed() throws Exception {
-        
-       
+
         final TransactionProxyFactory<Service> factory = new TransactionProxyFactory<Service>(
             jpaTester.getJpaBuilder(), Service.class);
-        Service service = new Service() { 
-            private EntityManager em = factory.getTransactionScopedEntityManager();
-            
+        Service service = new Service() {
+            private EntityManager em = factory
+                .getTransactionScopedEntityManager();
+
             @Override
             public int execute(int aValue) throws Exception {
                 assertNotNull(em);
@@ -89,14 +89,14 @@ public class TransactionProxyFactoryTestBase {
                 return 0;
             }
         };
-        
+
         final Service proxy = factory.getProxy(service);
         jpaTester.getJpaBuilder().execute(new JpaUnitOfWork<Void>() {
             @Override
             public Void execute(EntityManager aEm) throws Exception {
-                assert(aEm != null); 
+                assert (aEm != null);
                 proxy.execute(10);
-                return null; 
+                return null;
             }
         });
     }