@BeforeClass
 public static void setUpClass() {
   StorageSingleton.init(new StorageServiceImpl());
   user = new UserServiceImpl().findUserByID(1).get();
   task = new TaskServiceImpl().getTaskByID(1).get();
   commentService = new CommentServiceImpl();
 }
Ejemplo n.º 2
0
 @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();
 }