public function AttributeBagTest::testSet in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/Session/Attribute/AttributeBagTest.php \Symfony\Component\HttpFoundation\Tests\Session\Attribute\AttributeBagTest::testSet()
@dataProvider attributesProvider
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Attribute/ AttributeBagTest.php, line 108
Class
- AttributeBagTest
- Tests AttributeBag.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\AttributeCode
public function testSet($key, $value, $expected) {
$this->bag
->set($key, $value);
$this
->assertEquals($value, $this->bag
->get($key));
}