test_class.declarator: pathParameters
test_class.modifier: private
test_class.original_string: private MultivaluedMap<String, String> pathParameters;
test_class.type: MultivaluedMap<String, String>
test_class.var_name: pathParameters
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: 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: pathParameterResolver
test_class.modifier: private
test_class.original_string: private PathParameterResolver pathParameterResolver;
test_class.type: PathParameterResolver
test_class.var_name: pathParameterResolver
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/method/PathParameterResolverTest.java
test_class.identifier: PathParameterResolverTest
test_case.body: @Test
      public void retrievesDefaultValueWhenPathParameterDoesNotPresentInRequest() throws Exception {
          when(parameter.getDefaultValue()).thenReturn("default");
          when(typeProducer.createValue("foo", pathParameters, "default")).thenReturn("default");
  
          Object resolvedHeader = pathParameterResolver.resolve(parameter, applicationContext);
  
          assertEquals("default", resolvedHeader);
      }
test_case.class_method_signature: PathParameterResolverTest.retrievesDefaultValueWhenPathParameterDoesNotPresentInRequest()
test_case.full_signature: @Test public void retrievesDefaultValueWhenPathParameterDoesNotPresentInRequest()
test_case.identifier: retrievesDefaultValueWhenPathParameterDoesNotPresentInRequest
test_case.invocations: thenReturn when getDefaultValue thenReturn when createValue resolve assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void retrievesDefaultValueWhenPathParameterDoesNotPresentInRequest()
focal_class.declarator: pathParam
focal_class.modifier: private final
focal_class.original_string: private final PathParam           pathParam;
focal_class.type: PathParam
focal_class.var_name: pathParam
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/PathParameterResolver.java
focal_class.identifier: PathParameterResolver
focal_class.interfaces: implements ParameterResolver<PathParam>
focal_class.class_method_signature: PathParameterResolver.PathParameterResolver(PathParam pathParam, TypeProducerFactory typeProducerFactory)
focal_class.full_signature:   PathParameterResolver(PathParam pathParam, TypeProducerFactory typeProducerFactory)
focal_class.identifier: PathParameterResolver
focal_class.parameters: (PathParam pathParam, TypeProducerFactory typeProducerFactory)
focal_class.signature:  PathParameterResolver(PathParam pathParam, TypeProducerFactory typeProducerFactory)
focal_class.class_method_signature: PathParameterResolver.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_method.body: @Override
      public Object resolve(org.everrest.core.Parameter parameter, ApplicationContext context) throws Exception {
          String param = this.pathParam.value();
          TypeProducer typeProducer = typeProducerFactory.createTypeProducer(parameter.getParameterClass(), parameter.getGenericType());
          return typeProducer.createValue(param, context.getPathParameters(!parameter.isEncoded()), parameter.getDefaultValue());
      }
focal_method.class_method_signature: PathParameterResolver.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 createValue getPathParameters isEncoded 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)