You are here

public function ContextTest::testContainsFails in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/sebastian/recursion-context/tests/ContextTest.php \SebastianBergmann\RecursionContext\ContextTest::testContainsFails()

@covers SebastianBergmann\RecursionContext\Context::contains @uses SebastianBergmann\RecursionContext\InvalidArgumentException @dataProvider failsProvider

File

vendor/sebastian/recursion-context/tests/ContextTest.php, line 100

Class

ContextTest
@covers SebastianBergmann\RecursionContext\Context

Namespace

SebastianBergmann\RecursionContext

Code

public function testContainsFails($value) {
  $this
    ->setExpectedException('SebastianBergmann\\RecursionContext\\Exception', 'Only arrays and objects are supported');
  $this->context
    ->contains($value);
}