/**
  * @dataProvider getPathsWithUnexpectedType
  */
 public function testIsWritableReturnsFalseIfNotObjectOrArray($objectOrArray, $path)
 {
     $this->assertFalse($this->propertyAccessor->isWritable($objectOrArray, $path));
 }
 /**
  * @dataProvider getValidPropertyPaths
  */
 public function testIsWritable($collection, $path)
 {
     $this->assertTrue($this->propertyAccessor->isWritable($collection, $path, 'Updated'));
 }