  @Test
  public void skipNulls() {

    when(cursor.getCount()).thenReturn(3);
    when(cursor.moveToNext()).thenReturn(true, true, true, false);
    when(cursor.getString(0)).thenReturn("First", null, "Third");
    Fetcher fetcher = Fetcher.of(cursor).skipNulls();
    List<String> result = fetcher.toList(Converter.STRING);
    assertThat(result).isNotNull().hasSize(2)
        .contains("First", "Third")
        .doesNotContain((String) null);
  }