Example #1
0
        public void apply_event()
        {
            var p = new MyProjection();

            dynamic evnt = new MyEvnt();
            p.FakeDispatch(evnt);

            Assert.AreEqual(evnt, p.EventAppened);
        }
Example #2
0
        public void apply_event()
        {
            var p = new MyProjection();

            dynamic evnt = new MyEvnt();

            p.FakeDispatch(evnt);

            Assert.AreEqual(evnt, p.EventAppened);
        }
Example #3
0
 public void When(MyEvnt evnt)
 {
     EventAppened = evnt;
 }
Example #4
0
 public void When(MyEvnt evnt)
 {
     EventAppened = evnt;
 }