Test cases for ::testCreateAccess.
public static function createAccessTestCases() {
return [
'Allowed HTML request format' => [
'html',
AccessResult::allowed(),
],
'Forbidden other formats' => [
'json',
AccessResult::neutral(),
],
];
}