@Test
  public void testIsNotRetriable() {
    CouchbaseTableReadFunction readFunction = createAndInit();
    assertFalse(readFunction.isRetriable(null));
    assertFalse(readFunction.isRetriable(new SamzaException()));
    assertFalse(readFunction.isRetriable(new SamzaException("", new IllegalArgumentException())));
  }
This class performs unit tests for CouchbaseTableReadFunction.
samza-kv-couchbase/src/test/java/org/apache/samza/table/remote/couchbase/TestCouchbaseTableReadFunction.java