public function testSetAddComments() { $comments = array('release' => '1.0.2', 'date' => '2015-09-08'); $instance = self::optionsInstance(); $instance->setAddComments($comments); $this->assertSame($comments, $instance->getAddComments()); }