public function assertPageIs($uri, $message, $negate = false)
    {
        $this->assertPageLoaded($uri = $this->prepareUrl($uri));

        $method = $negate ? 'assertNotEquals' : 'assertEquals';

        $this->$method($uri, $this->currentPage(), $message);

        return $this;
    }
public function assertPageIs($uri, $message, $negate = false)
    {
        $this->assertPageLoaded($uri = $this->prepareUrl($uri));

        $method = $negate ? 'assertNotEquals' : 'assertEquals';

        $this->$method($uri, $this->currentPage(), $message);

        return $this;
    }
public function assertPageIs ( $ uri , $ message , $ negate = false ) { $ this -> assertPageLoaded ( $ uri = $ this -> prepareUrl ( $ uri ) ) ; $ method = $ negate ? 'assertNotEquals' : 'assertEquals' ; $ this -> $ method ( $ uri , $ this -> currentPage ( ) , $ message ) ; return $ this ; }
Assert that the page URI matches the given uri.

@param  string  $uri
@param  message $message
@param  boolean $negate
@return static
Assert that the page URI matches the given uri .