public function ContextTest::testAdd in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/sebastian/recursion-context/tests/ContextTest.php \SebastianBergmann\RecursionContext\ContextTest::testAdd()
@covers SebastianBergmann\RecursionContext\Context::add @dataProvider valuesProvider
File
- vendor/
sebastian/ recursion-context/ tests/ ContextTest.php, line 113
Class
Namespace
SebastianBergmann\RecursionContextCode
public function testAdd($value, $key) {
$this
->assertEquals($key, $this->context
->add($value));
// Test we get the same key on subsequent adds
$this
->assertEquals($key, $this->context
->add($value));
}