public function ContextTest::testAddFails in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/sebastian/recursion-context/tests/ContextTest.php \SebastianBergmann\RecursionContext\ContextTest::testAddFails()
@covers SebastianBergmann\RecursionContext\Context::add @uses SebastianBergmann\RecursionContext\InvalidArgumentException @dataProvider failsProvider
File
- vendor/
sebastian/ recursion-context/ tests/ ContextTest.php, line 86
Class
Namespace
SebastianBergmann\RecursionContextCode
public function testAddFails($value) {
$this
->setExpectedException('SebastianBergmann\\RecursionContext\\Exception', 'Only arrays and objects are supported');
$this->context
->add($value);
}