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