\r
import org.argeo.slc.core.structure.tree.TreeSPath;\r
import org.argeo.slc.dao.structure.tree.TreeSPathDao;\r
-import org.argeo.slc.unit.SpringBasedTestCase;\r
+import org.argeo.slc.unit.AbstractSpringTestCase;\r
\r
-public class TreeSPathDaoHibernateTest extends SpringBasedTestCase {\r
+public class TreeSPathDaoHibernateTest extends AbstractSpringTestCase {\r
\r
public void testCreate() {\r
- TreeSPathDao treeSPathDao = (TreeSPathDao) getContext().getBean(\r
- "treeSPathDao");\r
+ TreeSPathDao treeSPathDao = getBean(TreeSPathDao.class);\r
\r
String pathParentStr = "/root/testParent";\r
String pathStr = pathParentStr + "/test";\r