2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.persistence
.dao
.hibernate
.common
;
12 import static org
.junit
.Assert
.assertNotNull
;
14 import org
.junit
.Test
;
15 import org
.unitils
.spring
.annotation
.SpringApplicationContext
;
16 import org
.unitils
.spring
.annotation
.SpringBeanByType
;
18 import eu
.etaxonomy
.cdm
.persistence
.dao
.hibernate
.taxon
.TaxonDaoHibernateImpl
;
19 import eu
.etaxonomy
.cdm
.test
.integration
.CdmIntegrationTest
;
25 public class DaoBaseTest
extends CdmIntegrationTest
{
29 private TaxonDaoHibernateImpl daoBaseTester
;
31 /************ TESTS ********************************/
34 * Test method for {@link eu.etaxonomy.cdm.persistence.dao.hibernate.common.DaoBase#getSession()}.
37 public void testGetSession() {
38 assertNotNull(daoBaseTester
.getSession());