function it_matches_proper_countable_count(ArrayObject $countable) { $countable->count()->willReturn(4); $this->shouldNotThrow()->duringPositiveMatch('haveCount', $countable, array(4)); }