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