spec\PhpSpec\Matcher\TraversableKeyMatcherSpec::it_does_not_negative_matches_generator_with_specified_key PHP Method

it_does_not_negative_matches_generator_with_specified_key() public method

    function it_does_not_negative_matches_generator_with_specified_key()
    {
        $this->shouldThrow(FailureException::class)->during('negativeMatch', ['haveKey', $this->createGeneratorReturningKeys(['abc', 'def']), ['def']]);
    }