public function testShouldNotAcceptAllOfWithANonKeyRule() { $alwaysValid = new AlwaysValid(); $allOf = new AllOf($alwaysValid); new KeySet($allOf); }