/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage The path must be a string. Got: array */ public function testGetRootFailsIfInvalidPath() { Path::getRoot(array()); }
/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage The path must be a string. Got: array */ public function testGetRootFailsIfInvalidPath() { Path::getRoot(array()); }