Exemple #1
0
 public function testAddsAuthorsFromArrayOfAuthors()
 {
     $entry = new Writer\Entry();
     $entry->addAuthors(array(array('name' => 'Joe', 'uri' => 'http://www.example.com'), array('name' => 'Jane', 'uri' => 'http://www.example.com')));
     $expected = array(array('name' => 'Joe', 'uri' => 'http://www.example.com'), array('name' => 'Jane', 'uri' => 'http://www.example.com'));
     $this->assertEquals($expected, $entry->getAuthors());
 }