Example #1
0
 public function testConvertToPHPValueNull2()
 {
     $object = new DateTime('test', TRUE);
     $this->assertNull($object->convertToPHPValue(NULL));
 }
Example #2
0
 public function testConvertToPHPValueNull1()
 {
     $this->setExpectedException('InvalidArgumentException');
     $data = $this->object->convertToPHPValue(NULL);
 }