Merge branch 'release/5.45.0'
[cdmlib.git] / cdmlib-persistence / src / test / java / eu / etaxonomy / cdm / persistence / dao / hibernate / common / DaoBaseTest.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package eu.etaxonomy.cdm.persistence.dao.hibernate.common;
11
12 import static org.junit.Assert.assertNotNull;
13
14 import java.io.FileNotFoundException;
15
16 import org.junit.Test;
17 import org.unitils.spring.annotation.SpringBeanByType;
18
19 import eu.etaxonomy.cdm.persistence.dao.hibernate.taxon.TaxonDaoHibernateImpl;
20 import eu.etaxonomy.cdm.test.integration.CdmIntegrationTest;
21
22 /**
23 * @author a.mueller
24 *
25 */
26 public class DaoBaseTest extends CdmIntegrationTest{
27
28
29 @SpringBeanByType
30 private TaxonDaoHibernateImpl daoBaseTester;
31
32 /************ TESTS ********************************/
33
34 /**
35 * Test method for {@link eu.etaxonomy.cdm.persistence.dao.hibernate.common.DaoBase#getSession()}.
36 */
37 @Test
38 public void testGetSession() {
39 assertNotNull(daoBaseTester.getSession());
40 }
41
42 @Override
43 public void createTestDataSet() throws FileNotFoundException {}
44 }