test_class.declarator: thrown = ExpectedException.none()
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public ExpectedException thrown = ExpectedException.none();
test_class.type: ExpectedException
test_class.var_name: thrown
test_class.declarator: decodedForm
test_class.modifier: private
test_class.original_string: private MultivaluedMap<String, String> decodedForm;
test_class.type: MultivaluedMap<String, String>
test_class.var_name: decodedForm
test_class.declarator: encodedForm
test_class.modifier: private
test_class.original_string: private MultivaluedMap<String, String> encodedForm;
test_class.type: MultivaluedMap<String, String>
test_class.var_name: encodedForm
test_class.declarator: applicationContext
test_class.modifier: private
test_class.original_string: private ApplicationContext applicationContext;
test_class.type: ApplicationContext
test_class.var_name: applicationContext
test_class.declarator: messageBodyReader
test_class.modifier: private
test_class.original_string: private MessageBodyReader  messageBodyReader;
test_class.type: MessageBodyReader
test_class.var_name: messageBodyReader
test_class.declarator: parameter
test_class.modifier: private
test_class.original_string: private Parameter          parameter;
test_class.type: Parameter
test_class.var_name: parameter
test_class.declarator: typeProducer
test_class.modifier: private
test_class.original_string: private TypeProducer       typeProducer;
test_class.type: TypeProducer
test_class.var_name: typeProducer
test_class.declarator: formParameterResolver
test_class.modifier: private
test_class.original_string: private FormParameterResolver formParameterResolver;
test_class.type: FormParameterResolver
test_class.var_name: formParameterResolver
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/method/FormParameterResolverTest.java
test_class.identifier: FormParameterResolverTest
test_case.body: @Test
      public void resolvesEncodedFormParamAsString() throws Exception {
          when(parameter.isEncoded()).thenReturn(true);
          when(typeProducer.createValue("foo", encodedForm, null)).thenReturn(encodedForm.getFirst("foo"));
  
          Object resolved = formParameterResolver.resolve(parameter, applicationContext);
  
          assertEquals(encodedForm.getFirst("foo"), resolved);
          assertThatMessageBodyWriterWasCalled();
      }
test_case.class_method_signature: FormParameterResolverTest.resolvesEncodedFormParamAsString()
test_case.full_signature: @Test public void resolvesEncodedFormParamAsString()
test_case.identifier: resolvesEncodedFormParamAsString
test_case.invocations: thenReturn when isEncoded thenReturn when createValue getFirst resolve assertEquals getFirst assertThatMessageBodyWriterWasCalled
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void resolvesEncodedFormParamAsString()
focal_class.declarator: formParam
focal_class.modifier: private final
focal_class.original_string: private final FormParam           formParam;
focal_class.type: FormParam
focal_class.var_name: formParam
focal_class.declarator: typeProducerFactory
focal_class.modifier: private final
focal_class.original_string: private final TypeProducerFactory typeProducerFactory;
focal_class.type: TypeProducerFactory
focal_class.var_name: typeProducerFactory
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/method/FormParameterResolver.java
focal_class.identifier: FormParameterResolver
focal_class.interfaces: implements ParameterResolver<FormParam>
focal_class.class_method_signature: FormParameterResolver.FormParameterResolver(FormParam formParam, TypeProducerFactory typeProducerFactory)
focal_class.full_signature:   FormParameterResolver(FormParam formParam, TypeProducerFactory typeProducerFactory)
focal_class.identifier: FormParameterResolver
focal_class.parameters: (FormParam formParam, TypeProducerFactory typeProducerFactory)
focal_class.signature:  FormParameterResolver(FormParam formParam, TypeProducerFactory typeProducerFactory)
focal_class.class_method_signature: FormParameterResolver.resolve(org.everrest.core.Parameter parameter, ApplicationContext context)
focal_class.full_signature: @Override public Object resolve(org.everrest.core.Parameter parameter, ApplicationContext context)
focal_class.identifier: resolve
focal_class.modifiers: @Override public
focal_class.parameters: (org.everrest.core.Parameter parameter, ApplicationContext context)
focal_class.return: Object
focal_class.signature: Object resolve(org.everrest.core.Parameter parameter, ApplicationContext context)
focal_class.class_method_signature: FormParameterResolver.readForm(ApplicationContext context, boolean decode)
focal_class.full_signature: @SuppressWarnings({"unchecked"}) private MultivaluedMap<String, String> readForm(ApplicationContext context, boolean decode)
focal_class.identifier: readForm
focal_class.modifiers: @SuppressWarnings({"unchecked"}) private
focal_class.parameters: (ApplicationContext context, boolean decode)
focal_class.return: MultivaluedMap<String, String>
focal_class.signature: MultivaluedMap<String, String> readForm(ApplicationContext context, boolean decode)
focal_method.body: @Override
      public Object resolve(org.everrest.core.Parameter parameter, ApplicationContext context) throws Exception {
          String param = this.formParam.value();
          TypeProducer typeProducer = typeProducerFactory.createTypeProducer(parameter.getParameterClass(), parameter.getGenericType());
  
          MultivaluedMap<String, String> form = readForm(context, !parameter.isEncoded());
          return typeProducer.createValue(param, form, parameter.getDefaultValue());
      }
focal_method.class_method_signature: FormParameterResolver.resolve(org.everrest.core.Parameter parameter, ApplicationContext context)
focal_method.full_signature: @Override public Object resolve(org.everrest.core.Parameter parameter, ApplicationContext context)
focal_method.identifier: resolve
focal_method.invocations: value createTypeProducer getParameterClass getGenericType readForm isEncoded createValue getDefaultValue
focal_method.modifiers: @Override public
focal_method.parameters: (org.everrest.core.Parameter parameter, ApplicationContext context)
focal_method.return: Object
focal_method.signature: Object resolve(org.everrest.core.Parameter parameter, ApplicationContext context)