public function addressNotEquals($page)
    {
        $expected = $this->cleanUrl($page);
        $actual = $this->getCurrentUrlPath();

        $this->assert($actual !== $expected, sprintf('Current page is "%s", but should not be.', $actual));
    }
public function addressNotEquals($page)
    {
        $expected = $this->cleanUrl($page);
        $actual = $this->getCurrentUrlPath();

        $this->assert($actual !== $expected, sprintf('Current page is "%s", but should not be.', $actual));
    }
public function addressNotEquals ( $ page ) { $ expected = $ this -> cleanUrl ( $ page ) ; $ actual = $ this -> getCurrentUrlPath ( ) ; $ this -> assert ( $ actual !== $ expected , sprintf ( 'Current page is "%s", but should not be.' , $ actual ) ) ; }
Checks that current session address is not equals to provided one.

@param string $page

@throws ExpectationException
Checks that current session address is not equals to provided one .