public void eject_all_delegates()
        {
            theLifecycle.EjectAll(theContext);

            theCache.AssertWasCalled(x => x.DisposeAndClear());
        }
        public void eject_all_delegates()
        {
            theLifecycle.EjectAll(theContext);

            theCache.Received().DisposeAndClear();
        }