@@ -0,0 +1,1081 @@
+package com.alcedomoreno.sirme.core.dao;%0A%0Aimport java.util.Collection;%0A%0Aimport junit.framework.TestCase;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.test.context.ContextConfiguration;%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;%0Aimport org.springframework.test.context.support.AnnotationConfigContextLoader;%0A%0Aimport com.alcedomoreno.sirme.core.AppTestConfig;%0Aimport com.alcedomoreno.sirme.core.data.ApplicationData;%0A%0A@RunWith(SpringJUnit4ClassRunner.class)%0A@ContextConfiguration(loader=AnnotationConfigContextLoader.class, classes=AppTestConfig.class)%0Apublic class ApplicationsDaoTest extends TestCase%7B%0A%09%0A%09@Autowired%0A%09private ApplicationsDao applicationsDao;%0A%0A%09@Test%0A%09public void testApp()%7B%0A%09%09try %7B%0A%09%09%09ApplicationData root = applicationsDao.getRootApplication();%0A%09%09%09Collection%3CApplicationData%3E childs = applicationsDao.getChildApplications(root.getIdApplication());%0A%0A%09%09%09assertTrue( true );%0A%09%09%7D catch (Exception e)%7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A    %7D%0A%7D%0A

Create ApplicationsDaoTest.java