="discussion">
    
<p>A shorthand way of combining two matchers when both must match.</p>

<p>Returns a new <span class='object_link'><a href="AllOf.html" title="Mocha::ParameterMatchers::AllOf (class)">AllOf</a></span> parameter matcher combining two matchers using a logical AND.</p>

<p>This shorthand will not work with an implicit equals match. Instead, an explicit <span class='object_link'><a href="Equals.html" title="Mocha::ParameterMatchers::Equals (class)">Equals</a></span> matcher should be used.</