/** * Returns assert session. * * @return WebAssert */ protected function getAssertSession() { return self::$mink->assertSession('sess'); }
public function testAssertSessionNotRegistered() { $session = $this->getSessionMock(); $this->assertInstanceOf('Behat\\Mink\\WebAssert', $this->mink->assertSession($session)); }
/** * @param string|null $name name of the session OR active session will be used * * @return WebAssert */ public function assertSession($name = null) { return $this->mink->assertSession($name); }
/** * @param null|string $name * * @return WebAssert */ protected function assertSession($name = null) { return $this->mink->assertSession($name); }