function it_could_have_prefunctions($function) { $this->addPreFunction($function); $this->getPreFunctions()->shouldHaveCount(1); }