@Test
 public void testGetTaskTypeByID() throws Exception {
   Optional<TaskType> optType = taskService.getTaskTypeByID(1);
   assertTrue(optType.isPresent());
   TaskType typ = optType.get();
   assertNotNull(typ);
   assertEquals(1, typ.getId());
   assertNotNull(typ.getName());
   assertEquals(type.getName(), typ.getName());
 }
 @BeforeClass
 public static void setUpClass() throws Exception {
   ABEntityTest.initDB();
   StorageSingleton.init(new StorageServiceImpl());
   taskService = new TaskServiceImpl();
   project = new ProjectServiceImpl().getProjectByID(1).get();
   user = new UserServiceImpl().findUserByID(1).get();
   assigneeUser = new UserServiceImpl().findUserByID(2).get();
   type = taskService.getTaskTypeByID(1).get();
   priority = taskService.getTaskPriorityByID(1).get();
   status = taskService.getTaskStatusByID(1).get();
 }