/** * @covers Form::setCalendarShown */ public function testSetCalendarShown() { $this->assertFalse($this->myForm->isCalendarShown()); $this->myForm->setCalendarShown(); $this->assertTrue($this->myForm->isCalendarShown()); return $this->myForm; }