HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers76/deblijdewei.nl/vendor/phpspec/phpspec/spec/PhpSpec/Loader/SuiteSpec.php
<?php

namespace spec\PhpSpec\Loader;

use PhpSpec\ObjectBehavior;
use Prophecy\Argument;

use PhpSpec\Loader\Node\SpecificationNode;

class SuiteSpec extends ObjectBehavior
{
    function it_is_countable()
    {
        $this->shouldImplement('Countable');
    }

    function it_provides_a_link_to_specifications(SpecificationNode $spec)
    {
        $this->addSpecification($spec);
        $this->addSpecification($spec);
        $this->addSpecification($spec);

        $this->getSpecifications()->shouldReturn(array($spec, $spec, $spec));
    }

    function it_provides_a_count_of_examples(SpecificationNode $spec)
    {
        $this->addSpecification($spec);
        $this->addSpecification($spec);
        $this->addSpecification($spec);

        $spec->count(Argument::any())->willReturn(5);

        $this->count()->shouldReturn(15);
    }
}