protected override void beforeEach()
        {
            window = new Window();
            Services.Inject(window);

            ClassUnderTest.Action("old").Bind(Key.F2).PublishEvent <ForceBinaryRecycle>().Permanent();
            initial = ClassUnderTest.Actions.Count();
            ClassUnderTest.Action("new").Bind(Key.F1).PublishEvent <ForceBinaryRecycle>();

            ClassUnderTest.Actions.Count().ShouldEqual(initial + 1);
            ClassUnderTest.ClearTransient();
        }