public void supporterHasChildrenReturnsTrueIfChildren() { Supporter supporter = new Supporter("table"); var entity = new Thing("cup"); var item = supporter.AddChild(entity); Assert.That(supporter.HasChildren(), Is.True); }
public void supporterHasChildrenReturnsFalseIfNoChildren() { Supporter supporter = new Supporter("table"); Assert.That(supporter.HasChildren(), Is.False); }