PHPUnit_Framework_Constraint_ObjectHasAttribute::customFailureDescription PHP Method

customFailureDescription() protected method

protected customFailureDescription ( $other, $description, $not )
    protected function customFailureDescription($other, $description, $not)
    {
        return sprintf('Failed asserting that object of class "%s" %s.', get_class($other), $this->toString());
    }
PHPUnit_Framework_Constraint_ObjectHasAttribute