/** * Tests the addBCC method. * * @covers JMail::addBcc * * @return void */ public function testAddBcc() { $recipient = '*****@*****.**'; $name = 'test_name'; $expected = array(array('*****@*****.**', 'test_name')); $this->object->addBcc($recipient, $name); $this->assertThat($expected, $this->equalTo(TestReflection::getValue($this->object, 'bcc'))); }