public function testMessageSetBCC() { $this->assertInstanceOf('\\nickcv\\mandrill\\Message', $this->_message->setBcc('*****@*****.**')); $this->assertInstanceOf('\\nickcv\\mandrill\\Message', $this->_message->setBcc(['*****@*****.**' => 'fakeuser', '*****@*****.**', '*****@*****.**', 'asdf', 'fakeuser' => '*****@*****.**'])); $contactList = $this->_message->getBcc(); $this->assertCount(3, $contactList); $this->assertContains('*****@*****.**', $contactList); $this->assertArrayHasKey('*****@*****.**', $contactList); $this->assertContains('*****@*****.**', $contactList); $this->assertContains('fakeuser', $contactList); }