public void GetPocoEvents()
        {
            var testingPoco = new TestingPoco();

            testingPoco.MyEvent         += TestingListener.StandardCallback;
            testingPoco.PropertyChanged += TestingListener.PropertyChagnedHandler;

            Approvals.VerifyAll(testingPoco.GetPocoEvents(), string.Empty);
        }
Exemple #2
0
        public void GetEmptyPocoEvents()
        {
            var testingPoco = new TestingPoco();

            Assert.AreEqual(0, testingPoco.GetPocoEvents().Count());
        }