mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-29 16:24:46 +00:00
Added tests for service-layer pattern
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user