Esempio n. 1
0
 /**
  * @dataProvider getPathsWithUnexpectedType
  */
 public function testIsReadableReturnsFalseIfNotObjectOrArray($objectOrArray, $path)
 {
     $this->assertFalse($this->propertyAccessor->isReadable($objectOrArray, $path));
 }
 /**
  * @dataProvider getValidPropertyPaths
  */
 public function testIsReadable($collection, $path)
 {
     $this->assertTrue($this->propertyAccessor->isReadable($collection, $path));
 }