コード例 #1
0
        public void GetPocoEvents()
        {
            var testingPoco = new TestingEventPoco();

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

            Approvals.VerifyAll(testingPoco.GetPocoEvents(), string.Empty);
        }
コード例 #2
0
        public void GetEmptyPocoEvents()
        {
            var testingPoco = new TestingEventPoco();

            Assert.Equal(0, testingPoco.GetPocoEvents().Count());
        }
コード例 #3
0
        public void GetEmptyPocoEvents()
        {
            var testingPoco = new TestingEventPoco();

            Assert.Empty(testingPoco.GetPocoEvents());
        }