public void ShouldBuildInstanceWithGivenMatchers()
 {
     var matcher1 = new NodeMatcher("thisElement");
     var matcher2 = new NodeMatcher("thatElement");
     GivenATargetWithNodeMatchers(matcher1, matcher2);
     WhenBuilt();
     ResultShouldHaveMatchers(matcher1, matcher2);
 }
 private void GivenTwoMatchersAndAction(NodeMatcher matcher1, NodeMatcher matcher2, params IElementTransformerAction[] actions)
 {
     Context.ElementTransformerActionsByMatch.Add(new ElementTransformerActionsByMatch(new[] { matcher1, matcher2 }, actions));
 }
 private void GivenAMatcherAndAction(NodeMatcher matcher, params IElementTransformerAction[] actions)
 {
     Context.ElementTransformerActionsByMatch.Add(new ElementTransformerActionsByMatch(new []{matcher}, actions));
 }