public function testCc() { $m = new Mail('Subject'); $m->cc('*****@*****.**', 'Bob Smith'); $this->assertEquals('Bob Smith <*****@*****.**>', $m->getHeader('Cc')); $m->cc(array('*****@*****.**', '*****@*****.**')); $this->assertEquals('test@email.com, someone@email.com', $m->getHeader('Cc')); }