public void VisitsPassedChildren(Tag aTag, IElement child) { var theChildren = new[] {child, child, child}; sut.Visit(aTag, theChildren); child.Received(3).Accept(sut); }
public void PassesItselfToParent(IElement parent) { sut.Visit(ANY_TAG, parent, NO_CHILDREN); parent.Received(1).Accept(sut); }