code:     public void testParameterNameAware() {
          ParametersInterceptor pi = createParametersInterceptor();
          final Map actual = injectValueStackFactory(pi);
          ValueStack stack = createStubValueStack(actual);
          final Map expected = new HashMap() {
              {
                  put("fooKey", "fooValue");
                  put("barKey", "barValue");
              }
          };
          Object a = new ParameterNameAware() {
              public boolean acceptableParameterName(String parameterName) {
                  return expected.containsKey(parameterName);
              }
          };
          Map parameters = new HashMap() {
              {
                  put("fooKey", "fooValue");
                  put("barKey", "barValue");
                  put("error", "error");
              }
          };
          pi.setParameters(a, stack, parameters);
          assertEquals(expected, actual);
      }
  
  