public void YieldTestMethod() { var target = new YieldClass(); Assert.AreEqual("Paul", target.GetThing().FirstOrDefault().Name); Assert.AreEqual(10, target.GetThing().Count()); }