/**
* @expectedException Respect\Validation\Exceptions\KeySetException
* @expectedExceptionMessage Must have keys { "name" }
* @dataProvider providerForInvalidArguments
*/
public function testShouldThrowExceptionInCaseArgumentIsAnythingOtherThanArray($input)
{
$keySet = new KeySet(new Key('name'));
$keySet->assert($input);
}