protected function setUp() { $pf = new HeaderPartFactory(); $cs = new ConsumerService($pf); $this->commentConsumer = CommentConsumer::getInstance($cs, $pf); }
/** * Returns the CommentConsumer singleton instance. * * @return \ZBateson\MailMimeParser\Header\Consumer\CommentConsumer */ public function getCommentConsumer() { return CommentConsumer::getInstance($this, $this->partFactory); }