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