test_class.declarator: adapter
test_class.modifier: private
test_class.original_string: private DiffListenerAdapter adapter;
test_class.type: DiffListenerAdapter
test_class.var_name: adapter
test_class.declarator: handler
test_class.modifier: private
test_class.original_string: private DiffHandler handler;
test_class.type: DiffHandler
test_class.var_name: handler
test_class.file: dbfit-java/core/src/test/java/dbfit/util/DiffListenerAdapterTest.java
test_class.identifier: DiffListenerAdapterTest
test_case.body: @Test
      @SuppressWarnings("unchecked")
      public void shouldDelegateToEndCell() {
          MatchResult res = createResult(DataCell.class);
  
          adapter.onEvent(res);
  
          verify(handler).endCell(res);
          verify(handler, never()).endRow(any(MatchResult.class));
          verify(handler, never()).endTable(any(MatchResult.class));
      }
test_case.class_method_signature: DiffListenerAdapterTest.shouldDelegateToEndCell()
test_case.full_signature: @Test @SuppressWarnings("unchecked") public void shouldDelegateToEndCell()
test_case.identifier: shouldDelegateToEndCell
test_case.invocations: createResult onEvent endCell verify endRow verify never any endTable verify never any
test_case.modifiers: @Test @SuppressWarnings("unchecked") public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldDelegateToEndCell()
focal_class.declarator: delegate
focal_class.modifier: private
focal_class.original_string: private DiffHandler delegate;
focal_class.type: DiffHandler
focal_class.var_name: delegate
focal_class.file: dbfit-java/core/src/main/java/dbfit/util/DiffListenerAdapter.java
focal_class.identifier: DiffListenerAdapter
focal_class.interfaces: implements DiffListener
focal_class.class_method_signature: DiffListenerAdapter.from(final DiffHandler handler)
focal_class.full_signature: public static DiffListenerAdapter from(final DiffHandler handler)
focal_class.identifier: from
focal_class.modifiers: public static
focal_class.parameters: (final DiffHandler handler)
focal_class.return: DiffListenerAdapter
focal_class.signature: DiffListenerAdapter from(final DiffHandler handler)
focal_class.class_method_signature: DiffListenerAdapter.DiffListenerAdapter()
focal_class.full_signature: protected  DiffListenerAdapter()
focal_class.identifier: DiffListenerAdapter
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.signature:  DiffListenerAdapter()
focal_class.class_method_signature: DiffListenerAdapter.DiffListenerAdapter(final DiffHandler delegate)
focal_class.full_signature: public  DiffListenerAdapter(final DiffHandler delegate)
focal_class.identifier: DiffListenerAdapter
focal_class.modifiers: public
focal_class.parameters: (final DiffHandler delegate)
focal_class.signature:  DiffListenerAdapter(final DiffHandler delegate)
focal_class.class_method_signature: DiffListenerAdapter.setDiffHandler(final DiffHandler delegate)
focal_class.full_signature: protected void setDiffHandler(final DiffHandler delegate)
focal_class.identifier: setDiffHandler
focal_class.modifiers: protected
focal_class.parameters: (final DiffHandler delegate)
focal_class.return: void
focal_class.signature: void setDiffHandler(final DiffHandler delegate)
focal_class.class_method_signature: DiffListenerAdapter.onEvent(final MatchResult res)
focal_class.full_signature: @Override @SuppressWarnings("unchecked") public void onEvent(final MatchResult res)
focal_class.identifier: onEvent
focal_class.modifiers: @Override @SuppressWarnings("unchecked") public
focal_class.parameters: (final MatchResult res)
focal_class.return: void
focal_class.signature: void onEvent(final MatchResult res)
focal_method.body: @Override
      @SuppressWarnings("unchecked")
      public void onEvent(final MatchResult res) {
          Class type = res.getType();
  
          if (type.equals(DataCell.class)) {
              delegate.endCell((MatchResult<DataCell, DataCell>) res);
          } else if (type.equals(DataRow.class)) {
              delegate.endRow((MatchResult<DataRow, DataRow>) res);
          } else if (type.equals(DataTable.class)) {
              delegate.endTable((MatchResult<DataTable, DataTable>) res);
          } else {
              throw new IllegalArgumentException("Unknown type: " + res.getType());
          }
      }
focal_method.class_method_signature: DiffListenerAdapter.onEvent(final MatchResult res)
focal_method.full_signature: @Override @SuppressWarnings("unchecked") public void onEvent(final MatchResult res)
focal_method.identifier: onEvent
focal_method.invocations: getType equals endCell equals endRow equals endTable getType
focal_method.modifiers: @Override @SuppressWarnings("unchecked") public
focal_method.parameters: (final MatchResult res)
focal_method.return: void
focal_method.signature: void onEvent(final MatchResult res)