@After
  public void close() throws IOException, InterruptedException {
    if (writer != null && context != null) {
      writer.close(context);
    }
  }
Simple Tests to check whether the durability of the Mutation is changed or not, for
{@link TableOutputFormat} if {@link TableOutputFormat#WAL_PROPERTY} is set to false.
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapreduce/TestTableOutputFormat.java