@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));
}