@Test
@SuppressWarnings("unchecked")
public void shouldDelegatetoEndRow() {

    MatchResult res = createResult(DataRow.class);
    adapter.onEvent(res);
    verify(handler).endRow(res);
    verify(handler, never()).endCell(any(MatchResult.class));
    verify(handler, never()).endTable(any(MatchResult.class));
}