Clean warnings in cdmlib-persistence
[cdmlib.git] / cdmlib-persistence / src / test / java / eu / etaxonomy / cdm / persistence / dao / hibernate / common / DaoBaseTest.java
1 /**
2 *
3 */
4 package eu.etaxonomy.cdm.persistence.dao.hibernate.common;
5
6 import static org.junit.Assert.*;
7
8 import org.apache.log4j.Logger;
9 import org.junit.After;
10 import org.junit.AfterClass;
11 import org.junit.Before;
12 import org.junit.BeforeClass;
13 import org.junit.Test;
14 import org.springframework.beans.factory.annotation.Autowired;
15
16 import eu.etaxonomy.cdm.persistence.dao.hibernate.taxon.TaxonDaoHibernateImpl;
17 import eu.etaxonomy.cdm.test.unit.CdmUnitTestBase;
18
19 /**
20 * @author a.mueller
21 *
22 */
23 public class DaoBaseTest extends CdmUnitTestBase{
24 @SuppressWarnings("unused")
25 private static final Logger logger = Logger.getLogger(DaoBaseTest.class);
26
27 @Autowired
28 private TaxonDaoHibernateImpl daoBaseTester;
29
30 /**
31 * @throws java.lang.Exception
32 */
33 @BeforeClass
34 public static void setUpBeforeClass() throws Exception {
35 }
36
37 /**
38 * @throws java.lang.Exception
39 */
40 @AfterClass
41 public static void tearDownAfterClass() throws Exception {
42 }
43
44 /**
45 * @throws java.lang.Exception
46 */
47 @Before
48 public void setUp() throws Exception {
49 }
50
51 /**
52 * @throws java.lang.Exception
53 */
54 @After
55 public void tearDown() throws Exception {
56 }
57
58
59 /************ TESTS ********************************/
60
61 /**
62 * Test method for {@link eu.etaxonomy.cdm.persistence.dao.hibernate.common.DaoBase#getSession()}.
63 */
64 @Test
65 public void testGetSession() {
66 assertNotNull(daoBaseTester.getSession());
67 }
68
69 }