<commit_before><?php

namespace spec\Rojtjo\Notifier;

use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use Rojtjo\Notifier\Notification;

class NotificationsSpec extends ObjectBehavior
{
    function let()
    {
        $this->beConstructedWith([
            Notification::success('It is successful'),
            Notification::error('It is an error'),
        ]);
    }

    function it_is_an_iterator()
    {
        $this->shouldImplement('IteratorAggregate');
    }

    function it_is_countable()
    {
        $this->shouldImplement('Countable');
    }
}<commit_msg>Ensure count is actually ran in the spec<commit_after><?php

namespace spec\Rojtjo\Notifier;

use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use Rojtjo\Notifier\Notification;

class NotificationsSpec extends ObjectBehavior
{
    function let()
    {
        $this->beConstructedWith([
            Notification::success('It is successful'),
            Notification::error('It is an error'),
        ]);
    }

    function it_is_an_iterator()
    {
        $this->shouldImplement('IteratorAggregate');
    }

    function it_is_countable()
    {
        $this->shouldImplement('Countable');
        $this->count()->shouldBe(2);
    }
}
{'fraction_non_alphanumeric': 0.1186161449752883, 'fraction_numerical': 0.0008237232289950577, 'mean_word_length': 2.9836065573770494, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6314072', 'n_tokens_mistral': 361, 'n_tokens_neox': 358, 'n_words': 66}