### Question:
TicketRegistryDecorator extends AbstractTicketRegistry { @Override public Ticket getTicket(final String ticketId) { return this.ticketRegistry.getTicket(ticketId); } TicketRegistryDecorator(final TicketRegistry actualTicketRegistry, final Map<String, String> cache); @Override void addTicket(final Ticket ticket); @Override Ticket getTicket(final String ticketId); @Override boolean deleteTicket(final String ticketId); @Override Collection<Ticket> getTickets(); @Override int sessionCount(); @Override int serviceTicketCount();  }### Answer:
@Test public void getTicket() { when(registry.getTicket("Ticket-123")).thenReturn(ticket); assertEquals(ticket, decorator.getTicket("Ticket-123")); }