public function testSetCc() { $this->messageMock->expects($this->once())->method('addCc')->with('*****@*****.**')->will($this->returnSelf()); $this->builder->addCc('*****@*****.**'); }