public function testAddsAuthorsFromArrayOfAuthors() { $writer = new Writer\Feed(); $writer->addAuthors(array(array('name' => 'Joe', 'uri' => 'http://www.example.com'), array('name' => 'Jane', 'uri' => 'http://www.example.com'))); $this->assertEquals(array('name' => 'Jane', 'uri' => 'http://www.example.com'), $writer->getAuthor(1)); }