Added tests for service-layer pattern

This commit is contained in:
Jeroen Meulemeester
2015-12-29 01:19:46 +01:00
parent 52c483f1d0
commit fcfdbe71f5
11 changed files with 453 additions and 29 deletions
@@ -1,5 +1,8 @@
package com.iluwatar.servicelayer.app;
import com.iluwatar.servicelayer.hibernate.HibernateUtil;
import org.junit.After;
import org.junit.Test;
/**
@@ -14,4 +17,10 @@ public class AppTest {
String[] args = {};
App.main(args);
}
@After
public void tearDown() throws Exception {
HibernateUtil.dropSession();
}
}