test_class.declarator: LIST_SIZE = 3
test_class.modifier: private static final
test_class.original_string: private static final int LIST_SIZE = 3;
test_class.type: int
test_class.var_name: LIST_SIZE
test_class.file: map/src/test/java/openlr/map/utils/IteratorHelperTest.java
test_class.identifier: IteratorHelperTest
test_case.body: @Test
      public final void testIteratorHelper() {
  
          List<String> fruits = new ArrayList<String>(LIST_SIZE);
          fruits.add("Apple");
          fruits.add("Orange");
          fruits.add("Pear");
  
          assertTrue(IteratorHelper.contains(fruits.iterator(), "Apple"));
          assertFalse(IteratorHelper.contains(fruits.iterator(), "Potato"));
  
          try {
              IteratorHelper.contains(fruits.iterator(), null);
              Assert.fail("Expected NullPointerException missing");
          } catch (NullPointerException e) {
              // that's expected
              assertNotNull(e); // to satisfy checkstyle
          }
  
          try {
              IteratorHelper.contains(null, "Apple");
              fail("Expected NullPointerException missing");
          } catch (NullPointerException e) {
              // that's expected
              assertNotNull(e); // to satisfy checkstyle
          }
  
          assertEquals(IteratorHelper.size(fruits.iterator()), LIST_SIZE,
                  "Unexpected size delivered.");
  
          try {
              IteratorHelper.size(null);
              Assert.fail("Expected NullPointerException missing");
          } catch (NullPointerException e) {
              // that's expected
              assertNotNull(e); // to satisfy checkstyle
          }
  
      }
test_case.class_method_signature: IteratorHelperTest.testIteratorHelper()
test_case.full_signature: @Test public final void testIteratorHelper()
test_case.identifier: testIteratorHelper
test_case.invocations: add add add assertTrue contains iterator assertFalse contains iterator contains iterator fail assertNotNull contains fail assertNotNull assertEquals size iterator size fail assertNotNull
test_case.modifiers: @Test public final
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIteratorHelper()
focal_class.file: map/src/main/java/openlr/map/utils/IteratorHelper.java
focal_class.identifier: IteratorHelper
focal_class.class_method_signature: IteratorHelper.IteratorHelper()
focal_class.full_signature: private  IteratorHelper()
focal_class.identifier: IteratorHelper
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  IteratorHelper()
focal_class.class_method_signature: IteratorHelper.contains(final Iterator<? extends E> iter, final E item)
focal_class.full_signature: public static boolean contains(final Iterator<? extends E> iter, final E item)
focal_class.identifier: contains
focal_class.modifiers: public static
focal_class.parameters: (final Iterator<? extends E> iter, final E item)
focal_class.return: boolean
focal_class.signature: boolean contains(final Iterator<? extends E> iter, final E item)
focal_class.class_method_signature: IteratorHelper.size(final Iterator<E> iter)
focal_class.full_signature: public static int size(final Iterator<E> iter)
focal_class.identifier: size
focal_class.modifiers: public static
focal_class.parameters: (final Iterator<E> iter)
focal_class.return: int
focal_class.signature: int size(final Iterator<E> iter)
focal_method.body: private IteratorHelper() {
          throw new UnsupportedOperationException();
      }
focal_method.class_method_signature: IteratorHelper.IteratorHelper()
focal_method.full_signature: private  IteratorHelper()
focal_method.identifier: IteratorHelper
focal_method.modifiers: private
focal_method.parameters: ()
focal_method.signature:  IteratorHelper()