You are here

public function FlashBagTest::testHas in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Tests/Session/Flash/FlashBagTest.php \Symfony\Component\HttpFoundation\Tests\Session\Flash\FlashBagTest::testHas()

File

vendor/symfony/http-foundation/Tests/Session/Flash/FlashBagTest.php, line 106

Class

FlashBagTest
FlashBagTest.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Flash

Code

public function testHas() {
  $this
    ->assertFalse($this->bag
    ->has('nothing'));
  $this
    ->assertTrue($this->bag
    ->has('notice'));
}