public function FlashBagTest::testHas in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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\FlashCode
public function testHas() {
$this
->assertFalse($this->bag
->has('nothing'));
$this
->assertTrue($this->bag
->has('notice'));
}