public function getSuite()
{
return $this->suite;
}
function it_records_how_many_specs_are_in_the_suite(SuiteEvent $suiteEvent, Suite $suite, SpecificationNode $spec) { $suiteEvent->getSuite()->willReturn($suite); $suite->getSpecifications()->willReturn(array($spec)); $this->beforeSuite($suiteEvent); $this->getTotalSpecsCount()->shouldReturn(1); }