test_class.declarator: producer
test_class.modifier: private
test_class.original_string: private StringConstructorProducer producer;
test_class.type: StringConstructorProducer
test_class.var_name: producer
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/method/StringConstructorProducerTest.java
test_class.identifier: StringConstructorProducerTest
test_case.body: @Test
      public void createsInstanceAndUsesSingleValueFromMap() throws Exception {
          MultivaluedMap<String, String> values = new MultivaluedMapImpl();
          values.putSingle("number", "2147483647");
  
          Object result = producer.createValue("number", values, null);
          assertEquals(new Integer("2147483647"), result);
      }
test_case.class_method_signature: StringConstructorProducerTest.createsInstanceAndUsesSingleValueFromMap()
test_case.full_signature: @Test public void createsInstanceAndUsesSingleValueFromMap()
test_case.identifier: createsInstanceAndUsesSingleValueFromMap
test_case.invocations: putSingle createValue assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void createsInstanceAndUsesSingleValueFromMap()
focal_class.declarator: constructor
focal_class.modifier: private
focal_class.original_string: private Constructor<?> constructor;
focal_class.type: Constructor<?>
focal_class.var_name: constructor
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/method/StringConstructorProducer.java
focal_class.identifier: StringConstructorProducer
focal_class.class_method_signature: StringConstructorProducer.StringConstructorProducer(Constructor<?> constructor)
focal_class.full_signature:   StringConstructorProducer(Constructor<?> constructor)
focal_class.identifier: StringConstructorProducer
focal_class.parameters: (Constructor<?> constructor)
focal_class.signature:  StringConstructorProducer(Constructor<?> constructor)
focal_class.class_method_signature: StringConstructorProducer.createValue(String value)
focal_class.full_signature: @Override protected Object createValue(String value)
focal_class.identifier: createValue
focal_class.modifiers: @Override protected
focal_class.parameters: (String value)
focal_class.return: Object
focal_class.signature: Object createValue(String value)
focal_class.superclass: extends BaseTypeProducer
focal_method.body: @Override
      protected Object createValue(String value) throws Exception {
          if (value == null) {
              return null;
          }
  
          return constructor.newInstance(value);
      }
focal_method.class_method_signature: StringConstructorProducer.createValue(String value)
focal_method.full_signature: @Override protected Object createValue(String value)
focal_method.identifier: createValue
focal_method.invocations: newInstance
focal_method.modifiers: @Override protected
focal_method.parameters: (String value)
focal_method.return: Object
focal_method.signature: Object createValue(String value)