@@ -0,0 +1,680 @@
+package beaform.dao;%0A%0Aimport static org.junit.Assert.assertNotNull;%0A%0Aimport org.junit.Test;%0A%0A/**%0A * Test for the GraphDbHandler.%0A *%0A * @author Steven Post%0A *%0A */%0Apublic class GraphDbHandlerTest %7B%0A%0A%09@Test(expected=IllegalStateException.class)%0A%09public void testClearInstanceException() %7B%0A%09%09GraphDbHandler.clearInstance();%0A%09%7D%0A%0A%09@Test(expected=IllegalStateException.class)%0A%09public void testGetInstanceException() %7B%0A%09%09GraphDbHandler.getInstance();%0A%09%7D%0A%0A%09@Test%0A%09public void testGetInstance() %7B%0A%09%09GraphDbHandler.initInstance(%22test%22);%0A%09%09final GraphDbHandler handler = GraphDbHandler.getInstance();%0A%0A%09%09assertNotNull(%22The handler is null%22, handler);%0A%0A%09%09GraphDbHandler.clearInstance();%0A%09%7D%0A%0A%7D%0A

Add some unit tests for the GraphDBHandler