test_class.declarator: totalLengthOfContent = 500
test_class.modifier: private final
test_class.original_string: private final long totalLengthOfContent = 500;
test_class.type: long
test_class.var_name: totalLengthOfContent
test_class.declarator: headerDelegate
test_class.modifier: private
test_class.original_string: private HeaderDelegate<Ranges> headerDelegate;
test_class.type: HeaderDelegate<Ranges>
test_class.var_name: headerDelegate
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/header/RangesTest.java
test_class.identifier: RangesTest
test_case.body: @Test
      public void testValueOf() {
          Ranges ranges = new Ranges(newArrayList(new Range(49, 100), new Range(150, 250)));
          when(headerDelegate.fromString("bytes=49-100,150-250")).thenReturn(ranges);
  
          assertSame(ranges, Ranges.valueOf("bytes=49-100,150-250"));
      }
test_case.class_method_signature: RangesTest.testValueOf()
test_case.full_signature: @Test public void testValueOf()
test_case.identifier: testValueOf
test_case.invocations: newArrayList thenReturn when fromString assertSame valueOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testValueOf()
focal_class.declarator: ranges
focal_class.modifier: private final
focal_class.original_string: private final List<Range> ranges;
focal_class.type: List<Range>
focal_class.var_name: ranges
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/header/Ranges.java
focal_class.identifier: Ranges
focal_class.class_method_signature: Ranges.valueOf(String range)
focal_class.full_signature: public static Ranges valueOf(String range)
focal_class.identifier: valueOf
focal_class.modifiers: public static
focal_class.parameters: (String range)
focal_class.return: Ranges
focal_class.signature: Ranges valueOf(String range)
focal_class.class_method_signature: Ranges.Ranges(List<Range> ranges)
focal_class.full_signature:   Ranges(List<Range> ranges)
focal_class.identifier: Ranges
focal_class.parameters: (List<Range> ranges)
focal_class.signature:  Ranges(List<Range> ranges)
focal_class.class_method_signature: Ranges.getRanges()
focal_class.full_signature: public List<Range> getRanges()
focal_class.identifier: getRanges
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Range>
focal_class.signature: List<Range> getRanges()
focal_class.class_method_signature: Ranges.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: Ranges.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_method.body: public static Ranges valueOf(String range) {
          return RuntimeDelegate.getInstance().createHeaderDelegate(Ranges.class).fromString(range);
      }
focal_method.class_method_signature: Ranges.valueOf(String range)
focal_method.full_signature: public static Ranges valueOf(String range)
focal_method.identifier: valueOf
focal_method.invocations: fromString createHeaderDelegate getInstance
focal_method.modifiers: public static
focal_method.parameters: (String range)
focal_method.return: Ranges
focal_method.signature: Ranges valueOf(String range)