public function testArrayWithPresentKeysWillReturnTrueForFullPathValidator() { $array = ['bar' => ['foo' => ['baz' => 'hello world!'], 'foooo' => ['boooo' => 321]]]; $rule = new KeyNested('bar.foo.baz'); $this->assertTrue($rule->validate($array)); }