Exemplo n.º 1
0
        public void Should_Handle_Methods()
        {
            var handler = new EmailHandler();
            var id      = P <IEmailFeature>(handler).Email("Hello");

            Assert.AreEqual(1, id);
            id = handler.P <IEmailFeature>().Email("Hello");
            Assert.AreEqual(2, id);
        }