    @Test(expected = ReceiverGeneratorException.class)
    public void checkReceiverGeneratorExceptionOn()
            throws Exception {

        CustomActor a = new CustomActor();
        IResolveDependencyStrategy strategy = mock(IResolveDependencyStrategy.class);

        IReceiverGenerator rg = new ReceiverGenerator(null);
        rg.generate(a, strategy, "a");
        fail();
    }