@Test public void ticketExistsTest() { ticket = manager.generateTicket(getInstance(Ticket.Builder.class)); Assert.assertTrue(manager.ticketExists(ticket)); }
@Test public void updateTicketTest() { ticket = manager.generateTicket(getInstance(Ticket.Builder.class)); manager.updateTicket(new UID(ticket), new UID(OBJECT_UID), CREATION_DATE, PROCESS_DATE); Assert.assertTrue(manager.ticketExists(ticket)); }
@Test public void generateTicketTest() { ticket = manager.generateTicket(getInstance(Ticket.Builder.class)); Assert.assertTrue(ticket != null); }