spec\PhpSpec\Matcher\StartIteratingAsMatcherSpec::it_responds_to_startIterating PHP Method

it_responds_to_startIterating() public method

    function it_responds_to_startIterating()
    {
        $this->supports('startIteratingAs', [], [[]])->shouldReturn(true);
        $this->supports('startIteratingAs', new \ArrayObject([]), [[]])->shouldReturn(true);
        $this->supports('startIteratingAs', new \ArrayIterator([]), [[]])->shouldReturn(true);
        $this->supports('startIteratingAs', $this->createGeneratorReturningArray([]), [[]])->shouldReturn(true);
        $this->supports('startIteratingAs', [], [new \ArrayIterator([])])->shouldReturn(true);
        $this->supports('startIteratingAs', [], [new \ArrayObject([])])->shouldReturn(true);
        $this->supports('startIteratingAs', [], [$this->createGeneratorReturningArray([])])->shouldReturn(true);
        $this->supports('startYielding', [], [[]])->shouldReturn(true);
    }