public void GetPocoEvents() { var testingPoco = new TestingPoco(); testingPoco.MyEvent += TestingListener.StandardCallback; testingPoco.PropertyChanged += TestingListener.PropertyChagnedHandler; Approvals.VerifyAll(testingPoco.GetPocoEvents(), string.Empty); }
public void GetEmptyPocoEvents() { var testingPoco = new TestingPoco(); Assert.AreEqual(0, testingPoco.GetPocoEvents().Count()); }