    @Test
    public void serviceTicketCountWithTicketRegistryState() {

        TicketRegistry registryState = Mockito.mock(TicketRegistry.class, withSettings().extraInterfaces(TicketRegistryState.class));
        when(((TicketRegistryState)registryState).serviceTicketCount()).thenReturn(123);
        decorator = new TicketRegistryDecorator(registryState, cache);
        assertEquals(123, decorator.serviceTicketCount());
    }