public function testCanRetrieveDateTimeObjectByPassingBooleanFalseToGetValue() { $date = new DateTime(); $element = new DateTimeElement('foo'); $element->setValue($date); $this->assertSame($date, $element->getValue(false)); }