public void ClassThatCallsBack_Callbacks_Called()
        {
            var invokedPre  = false;
            var invokedPost = false;

            var cb = new CallerBacker(() => { invokedPre = true; }, () => { invokedPost = true; });

            cb.DoStuff();

            Assert.That(invokedPre, Is.True);
            Assert.That(invokedPost, Is.True);
        }
        public void ClassThatCallsBack_Callbacks_Called()
        {
            var invokedPre = false;
            var invokedPost = false;

            var cb = new CallerBacker(() => { invokedPre = true; }, () => { invokedPost = true; });

            cb.DoStuff();

            Assert.That(invokedPre, Is.True);
            Assert.That(invokedPost, Is.True);
        }
        public void ClassThatCallsBack_NoCallbacks_AllOk()
        {
            var cb = new CallerBacker();

            cb.DoStuff();
        }
        public void ClassThatCallsBack_NoCallbacks_AllOk()
        {
            var cb = new CallerBacker();

            cb.DoStuff();
        }