protected function createFormData($AuthorityRole = null) { if (!$AuthorityRole) { $AuthorityRole = $this->newTestAuthorityRole(); } $form = array(array('Authority' => $AuthorityRole->getAuthority()->getId(), 'deny_url' => '/test')); return $form; }