Ejemplo n.º 1
0
 public function testTrySet_WhenExists_MustThrow()
 {
     $arr = ['a' => 'b'];
     $da = new DotArray($arr);
     $this->expectException('RuntimeException');
     $da->trySet('a.c', 'X');
 }