public function testExtraValidatorShouldValidateKey()
{
$subValidator = new Length(3, 7);
$validator = new KeyNested('bar.foo.baz', $subValidator);
$object = ['bar' => ['foo' => ['baz' => 'example']]];
$this->assertTrue($validator->assert($object));
}