public static InsertRetryPolicy neverRetry() {
    return new InsertRetryPolicy() {
      @Override
      public boolean shouldRetry(Context context) {
        return false;
      }
    };
  }
@Test
  public void testNeverRetry() {
    assertFalse(
        InsertRetryPolicy.neverRetry()
            .shouldRetry(new Context(new TableDataInsertAllResponse.InsertErrors())));
  }