    @Test
    public void typesThatImplementARegisteredListenerInterfaceAreMonitoredForInjection()
    {

        final TypeEncounter<MyListenerImpl> encounter = context
                .mock(new TypeLiteral<TypeEncounter<MyListenerImpl>>()
                {
                });

        bindings.add(TypeLiteral.get(MyListener.class));

        context.checking(new Expectations()
        {
            {
                oneOf(encounter).getProvider(EventCasterInternal.class);
                will(returnValue(eventCasterProvider));
                oneOf(encounter).register(
                        new RegisterInjectedEventListeners<Object>(TypeLiteral
                                .get(MyListener.class), eventCasterProvider));
            }
        });

        new EventListenerGuiceTypeListener(bindings).hear(
                TypeLiteral.get(MyListenerImpl.class), encounter);
    }