public function testGetAndSetPropertyPath()
 {
     $converter = new ObjectConverter();
     $this->assertNull($converter->getPropertyPath());
     $converter->setPropertyPath('foo.bar');
     $this->assertEquals('foo.bar', $converter->getPropertyPath());
 }
Example #2
0
 /**
  * @expectedException Ddeboer\DataImport\Exception\UnexpectedTypeException
  */
 public function testConvetANonObject()
 {
     $converter = new ObjectConverter();
     $converter->convert('foo');
 }