function it_could_have_postfunctions($function) { $this->addPostFunction($function); $this->getPostFunctions()->shouldHaveCount(1); }