src/Concerns/InteractsWithSession.php
public function assertSessionMissing($key)
    {
        if (is_array($key)) {
            foreach ($key as $k) {
                $this->assertSessionMissing($k);
            }
        } else {
            PHPUnit::assertFalse($this->app['session.store']->has($key), "Session has unexpected key: $key");
        }
    }
public function assertSessionMissing($key)
    {
        if (is_array($key)) {
            foreach ($key as $k) {
                $this->assertSessionMissing($k);
            }
        } else {
            PHPUnit::assertFalse($this->app['session.store']->has($key), "Session has unexpected key: $key");
        }
    }
public function assertSessionMissing ( $ key ) { if ( is_array ( $ key ) ) { foreach ( $ key as $ k ) { $ this -> assertSessionMissing ( $ k ) ; } } else { PHPUnit :: assertFalse ( $ this -> app [ 'session.store' ] -> has ( $ key ) , "Session has unexpected key: $key" ) ; } }
Assert that the session does not have a given key.

@param  string|array  $key
@return void
Assert that the session does not have a given key .