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