PHPUnit_Framework_Constraint_TraversableContains::customFailureDescription PHP Method

customFailureDescription() protected method

protected customFailureDescription ( $other, $description, $not )
    protected function customFailureDescription($other, $description, $not)
    {
        return sprintf('Failed asserting that an %s %s.', is_array($other) ? 'array' : 'iterator', $this->toString());
    }
PHPUnit_Framework_Constraint_TraversableContains