@@ -0,0 +1,3029 @@
+package nl.fontys.sofa.limo.orientdb.database;%0A%0Aimport nl.fontys.sofa.limo.api.dao.CostCategoryDAO;%0Aimport nl.fontys.sofa.limo.api.dao.EventDAO;%0Aimport nl.fontys.sofa.limo.api.dao.HubDAO;%0Aimport nl.fontys.sofa.limo.api.dao.HubTypeDAO;%0Aimport nl.fontys.sofa.limo.api.dao.LegDAO;%0Aimport nl.fontys.sofa.limo.api.dao.LegTypeDAO;%0Aimport nl.fontys.sofa.limo.api.dao.TimeCategoryDAO;%0Aimport nl.fontys.sofa.limo.orientdb.dao.OrientDBCostCategoryDAO;%0Aimport nl.fontys.sofa.limo.orientdb.dao.OrientDBEventDAO;%0Aimport nl.fontys.sofa.limo.orientdb.dao.OrientDBHubDAO;%0Aimport nl.fontys.sofa.limo.orientdb.dao.OrientDBHubTypeDAO;%0Aimport nl.fontys.sofa.limo.orientdb.dao.OrientDBLegDAO;%0Aimport nl.fontys.sofa.limo.orientdb.dao.OrientDBLegTypeDAO;%0Aimport nl.fontys.sofa.limo.orientdb.dao.OrientDBTimeCategoryDAO;%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.netbeans.junit.NbTestCase;%0A%0Apublic class OrientDBDAOFactoryTest extends NbTestCase %7B%0A%0A    private OrientDBDAOFactory instance;%0A%0A    public OrientDBDAOFactoryTest(String testCase) %7B%0A        super(testCase);%0A    %7D%0A%0A    @Before%0A    @Override%0A    public void setUp() %7B%0A        instance = new OrientDBDAOFactory();%0A    %7D%0A%0A    @After%0A    @Override%0A    public void tearDown() %7B%0A        instance = null;%0A    %7D%0A%0A    /**%0A     * Test of getCostCategoryDAO method, of class OrientDBDAOFactory.%0A     */%0A    @Test%0A    public void testGetCostCategoryDAO() %7B%0A        CostCategoryDAO result = instance.getCostCategoryDAO();%0A        assertTrue(result instanceof OrientDBCostCategoryDAO);%0A    %7D%0A%0A    /**%0A     * Test of getTimeCategoryDAO method, of class OrientDBDAOFactory.%0A     */%0A    @Test%0A    public void testGetDelayCategoryDAO() %7B%0A        TimeCategoryDAO result = instance.getTimeCategoryDAO();%0A        assertTrue(result instanceof OrientDBTimeCategoryDAO);%0A    %7D%0A%0A    /**%0A     * Test of getEventDAO method, of class OrientDBDAOFactory.%0A     */%0A    @Test%0A    public void testGetEventDAO() %7B%0A        EventDAO result = instance.getEventDAO();%0A        assertTrue(result instanceof OrientDBEventDAO);%0A    %7D%0A%0A    /**%0A     * Test of getHubDAO method, of class OrientDBDAOFactory.%0A     */%0A    @Test%0A    public void testGetHubDAO() %7B%0A        HubDAO result = instance.getHubDAO();%0A        assertTrue(result instanceof OrientDBHubDAO);%0A    %7D%0A%0A    /**%0A     * Test of getHubTypeDAO method, of class OrientDBDAOFactory.%0A     */%0A    @Test%0A    public void testGetHubTypeDAO() %7B%0A        HubTypeDAO result = instance.getHubTypeDAO();%0A        assertTrue(result instanceof OrientDBHubTypeDAO);%0A    %7D%0A%0A    /**%0A     * Test of getLegDAO method, of class OrientDBDAOFactory.%0A     */%0A    @Test%0A    public void testGetLegDAO() %7B%0A        LegDAO result = instance.getLegDAO();%0A        assertTrue(result instanceof OrientDBLegDAO);%0A    %7D%0A%0A    /**%0A     * Test of getLegTypeDAO method, of class OrientDBDAOFactory.%0A     */%0A    @Test%0A    public void testGetLegTypeDAO() %7B%0A        LegTypeDAO result = instance.getLegTypeDAO();%0A        assertTrue(result instanceof OrientDBLegTypeDAO);%0A    %7D%0A%0A%7D%0A

add orientdbfactory test