public function equivalentTo($value)
    {
        $message = ['%s is {{not|}} equivalent to %s', $this->value, $value];
        $this->assert(($this->value == $value), $message);

        return $this;
    }
public function equivalentTo($value)
    {
        $message = ['%s is {{not|}} equivalent to %s', $this->value, $value];
        $this->assert(($this->value == $value), $message);

        return $this;
    }
public function equivalentTo ( $ value ) { $ message = [ '%s is {{not|}} equivalent to %s' , $ this -> value , $ value ] ; $ this -> assert ( ( $ this -> value == $ value ) , $ message ) ; return $ this ; }
Assert that two values are equivalent.

@param mixed $value The value to test

@throws AssertionFailureException

@return self
Assert that two values are equivalent .