public function testEditRoleAction() { $roleAdmin = new Mage_User_Model_Role(); $roleAdmin->load(Magento_Test_Bootstrap::ADMIN_ROLE_NAME, 'role_name'); $this->getRequest()->setParam('rid', $roleAdmin->getId()); $this->dispatch('backend/admin/user_role/editrole'); $this->assertContains('Role Information', $this->getResponse()->getBody()); $this->assertContains("Edit Role '" . $roleAdmin->getRoleName() . "'", $this->getResponse()->getBody()); }