public function testSetCc() { $this->swiftMessage ->expects($this->once()) ->method('setCc') ->with(array('*****@*****.**')); $this->message->setCc(array('*****@*****.**')); }