test_class.declarator: JACKSON_2_X_CLASS_NAME = "com.fasterxml.jackson.databind.ObjectMapper"
test_class.modifier: static final
test_class.original_string: static final String JACKSON_2_X_CLASS_NAME = "com.fasterxml.jackson.databind.ObjectMapper";
test_class.type: String
test_class.var_name: JACKSON_2_X_CLASS_NAME
test_class.declarator: JACKSON_1_X_CLASS_NAME = "org.codehaus.jackson.map.ObjectMapper"
test_class.modifier: static final
test_class.original_string: static final String JACKSON_1_X_CLASS_NAME = "org.codehaus.jackson.map.ObjectMapper";
test_class.type: String
test_class.var_name: JACKSON_1_X_CLASS_NAME
test_class.declarator: SIMPLE_XML_CLASS_NAME = "org.simpleframework.xml.core.Persister"
test_class.modifier: static final
test_class.original_string: static final String SIMPLE_XML_CLASS_NAME = "org.simpleframework.xml.core.Persister";
test_class.type: String
test_class.var_name: SIMPLE_XML_CLASS_NAME
test_class.declarator: builder
test_class.modifier: private
test_class.original_string: private Builder builder;
test_class.type: Builder
test_class.var_name: builder
test_class.file: volleyer/src/test/java/com/navercorp/volleyextensions/volleyer/factory/DefaultNetworkResponseParserFactoryTest.java
test_class.identifier: DefaultNetworkResponseParserFactoryTest
test_case.body: @Test
  	public void shouldAddJackson2NetworkResponserIfPresent() {
  		// Given
  		given(ClassUtils.isPresent(JACKSON_2_X_CLASS_NAME)).willReturn(true);
  		Matcher<TypedNetworkResponseParser> matcher = argMatcher(new PlainMatcher(){
  
  			@Override
  			public boolean matches(Object item) {
  				if (item instanceof Jackson2NetworkResponseParser) {
  					return true;
  				}
  				return false;
  			}});
  		// When
  		DefaultNetworkResponseParserFactory.addJacksonParserIfPresent(builder);
  		// Then
  		verify(builder).addParser(Matchers.argThat(matcher));
  	}
test_case.class_method_signature: DefaultNetworkResponseParserFactoryTest.shouldAddJackson2NetworkResponserIfPresent()
test_case.full_signature: @Test public void shouldAddJackson2NetworkResponserIfPresent()
test_case.identifier: shouldAddJackson2NetworkResponserIfPresent
test_case.invocations: willReturn given isPresent argMatcher addJacksonParserIfPresent addParser verify argThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldAddJackson2NetworkResponserIfPresent()
focal_class.declarator: JACKSON_2_X_CLASS_NAME = "com.fasterxml.jackson.databind.ObjectMapper"
focal_class.modifier: private static final
focal_class.original_string: private static final String JACKSON_2_X_CLASS_NAME = "com.fasterxml.jackson.databind.ObjectMapper";
focal_class.type: String
focal_class.var_name: JACKSON_2_X_CLASS_NAME
focal_class.declarator: JACKSON_1_X_CLASS_NAME = "org.codehaus.jackson.map.ObjectMapper"
focal_class.modifier: private static final
focal_class.original_string: private static final String JACKSON_1_X_CLASS_NAME = "org.codehaus.jackson.map.ObjectMapper";
focal_class.type: String
focal_class.var_name: JACKSON_1_X_CLASS_NAME
focal_class.declarator: SIMPLE_XML_CLASS_NAME = "org.simpleframework.xml.core.Persister"
focal_class.modifier: private static final
focal_class.original_string: private static final String SIMPLE_XML_CLASS_NAME = "org.simpleframework.xml.core.Persister";
focal_class.type: String
focal_class.var_name: SIMPLE_XML_CLASS_NAME
focal_class.file: volleyer/src/main/java/com/navercorp/volleyextensions/volleyer/factory/DefaultNetworkResponseParserFactory.java
focal_class.identifier: DefaultNetworkResponseParserFactory
focal_class.class_method_signature: DefaultNetworkResponseParserFactory.create()
focal_class.full_signature: public static NetworkResponseParser create()
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: NetworkResponseParser
focal_class.signature: NetworkResponseParser create()
focal_class.class_method_signature: DefaultNetworkResponseParserFactory.addJacksonParserIfPresent(IntegratedNetworkResponseParser.Builder builder)
focal_class.full_signature: public static void addJacksonParserIfPresent(IntegratedNetworkResponseParser.Builder builder)
focal_class.identifier: addJacksonParserIfPresent
focal_class.modifiers: public static
focal_class.parameters: (IntegratedNetworkResponseParser.Builder builder)
focal_class.return: void
focal_class.signature: void addJacksonParserIfPresent(IntegratedNetworkResponseParser.Builder builder)
focal_class.class_method_signature: DefaultNetworkResponseParserFactory.addSimpleXmlParserIfPresent(IntegratedNetworkResponseParser.Builder builder)
focal_class.full_signature: public static void addSimpleXmlParserIfPresent(IntegratedNetworkResponseParser.Builder builder)
focal_class.identifier: addSimpleXmlParserIfPresent
focal_class.modifiers: public static
focal_class.parameters: (IntegratedNetworkResponseParser.Builder builder)
focal_class.return: void
focal_class.signature: void addSimpleXmlParserIfPresent(IntegratedNetworkResponseParser.Builder builder)
focal_method.body: public static void addJacksonParserIfPresent(IntegratedNetworkResponseParser.Builder builder) {
  		if(ClassUtils.isPresent(JACKSON_2_X_CLASS_NAME)) {
  			builder.addParser(new Jackson2NetworkResponseParser());
  			return;
  		}
  
  		if(ClassUtils.isPresent(JACKSON_1_X_CLASS_NAME)) {
  			builder.addParser(new JacksonNetworkResponseParser());
  			return;
  		}
  
  		// Do nothing if Jackson doesn't exist.
  	}
focal_method.class_method_signature: DefaultNetworkResponseParserFactory.addJacksonParserIfPresent(IntegratedNetworkResponseParser.Builder builder)
focal_method.full_signature: public static void addJacksonParserIfPresent(IntegratedNetworkResponseParser.Builder builder)
focal_method.identifier: addJacksonParserIfPresent
focal_method.invocations: isPresent addParser isPresent addParser
focal_method.modifiers: public static
focal_method.parameters: (IntegratedNetworkResponseParser.Builder builder)
focal_method.return: void
focal_method.signature: void addJacksonParserIfPresent(IntegratedNetworkResponseParser.Builder builder)