/** * @covers Core\Form\Form::setOptions */ public function testSetOptions() { $description = 'my description'; $enableDescriptions = true; $options = ['description' => $description, 'enable_descriptions' => $enableDescriptions]; $this->target->setOptions($options); $this->assertAttributeSame(['description' => $description, 'enable_descriptions' => $enableDescriptions], 'options', $this->target); }