@Test public void testRemoveLimitingResourceQueue() throws InstanceNotFoundException { LimitingResourceQueue limitingResourceQueue = createValidLimitingResourceQueue(); limitingResourceQueueDAO.save(limitingResourceQueue); limitingResourceQueueDAO.remove(limitingResourceQueue.getId()); assertFalse(limitingResourceQueueDAO.exists(limitingResourceQueue.getId())); }
@Test public void testSaveLimitingResourceQueue() { LimitingResourceQueue limitingResourceQueue = createValidLimitingResourceQueue(); limitingResourceQueueDAO.save(limitingResourceQueue); assertTrue(limitingResourceQueueDAO.exists(limitingResourceQueue.getId())); }