test_class.file: storm/storm-benchmark/src/test/java/storm/benchmark/lib/operation/ExpandTest.java
test_class.identifier: ExpandTest
test_case.body: @Test (dataProvider = "getIterable")
    public void testExpand(Iterable iterable, int size)  {
      final TridentTuple tuple = mock(TridentTuple.class);
      final TridentCollector collector = mock(TridentCollector.class);
      when(tuple.getValue(0)).thenReturn(iterable);
      Expand expand = new Expand();
      expand.execute(tuple, collector);
  
      verify(tuple, times(1)).getValue(0);
      verify(collector, times(size)).emit(any(Values.class));
    }
test_case.class_method_signature: ExpandTest.testExpand(Iterable iterable, int size)
test_case.full_signature: @Test (dataProvider = "getIterable") public void testExpand(Iterable iterable, int size)
test_case.identifier: testExpand
test_case.invocations: mock mock thenReturn when getValue execute getValue verify times emit verify times any
test_case.modifiers: @Test (dataProvider = "getIterable") public
test_case.parameters: (Iterable iterable, int size)
test_case.return: void
test_case.signature: void testExpand(Iterable iterable, int size)
focal_class.declarator: serialVersionUID = -8912233679276693760L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -8912233679276693760L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.file: storm/storm-benchmark/src/main/java/storm/benchmark/lib/operation/Expand.java
focal_class.identifier: Expand
focal_class.class_method_signature: Expand.execute(TridentTuple tuple, TridentCollector collector)
focal_class.full_signature: @Override public void execute(TridentTuple tuple, TridentCollector collector)
focal_class.identifier: execute
focal_class.modifiers: @Override public
focal_class.parameters: (TridentTuple tuple, TridentCollector collector)
focal_class.return: void
focal_class.signature: void execute(TridentTuple tuple, TridentCollector collector)
focal_class.superclass: extends BaseFunction
focal_method.body: @Override
    public void execute(TridentTuple tuple, TridentCollector collector) {
      Iterable iterable = (Iterable) tuple.getValue(0);
      Iterator iterator = iterable.iterator();
      while (iterator.hasNext()) {
       collector.emit(new Values(iterator.next()));
      }
    }
focal_method.class_method_signature: Expand.execute(TridentTuple tuple, TridentCollector collector)
focal_method.full_signature: @Override public void execute(TridentTuple tuple, TridentCollector collector)
focal_method.identifier: execute
focal_method.invocations: getValue iterator hasNext emit next
focal_method.modifiers: @Override public
focal_method.parameters: (TridentTuple tuple, TridentCollector collector)
focal_method.return: void
focal_method.signature: void execute(TridentTuple tuple, TridentCollector collector)