public void testGetAttributeNames() {
   request.setParameter("Some param", "Some value");
   // perform test
   Iterator<String> names = tested.getAttributeNames();
   assertNotNull("Null result unexpected", names);
   assertTrue("More elements", names.hasNext());
   String name = names.next();
   assertEquals("Some param", name);
 }
 public void testSetAttribute() {
   // perform test
   try {
     tested.setAttribute("Some key", "Some value");
     fail("UnsupportedOperationException expected");
   } catch (UnsupportedOperationException expected) {
     // expected
   }
 }
 public void testRemoveAttribute() {
   request.setParameter("Some param", "Some value");
   // perform test
   try {
     tested.removeAttribute("Some param");
     fail("UnsupportedOperationException expected");
   } catch (UnsupportedOperationException expected) {
     // expected
   }
 }
 public void testGetAttribute() {
   request.setParameter("Some param", "Some value");
   // perform test
   Object result = tested.getAttribute("Some param");
   assertEquals("Some value", result);
 }