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