Ejemplo n.º 1
0
 @Test
 public void ticketExistsTest() {
   ticket = manager.generateTicket(getInstance(Ticket.Builder.class));
   Assert.assertTrue(manager.ticketExists(ticket));
 }
Ejemplo n.º 2
0
 @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));
 }
Ejemplo n.º 3
0
 @Test
 public void generateTicketTest() {
   ticket = manager.generateTicket(getInstance(Ticket.Builder.class));
   Assert.assertTrue(ticket != null);
 }