public function modifyModifiesSheets() { $form = Form::create(); $form->modify(array('sheets' => array('options' => array('label' => 'Test')))); $sheets = $form->getSheets(TRUE); $this->assertEquals('Test', reset($sheets)->getLabel()); }