@Test
public void testFaultTolerance() throws Exception {
FaultTolerance tolerance = new FaultTolerance(true, false);
tolerance = new FaultTolerance(true, true, IOException.class.getName());
tolerance.handleException(new IOException(), new Record());
tolerance = new FaultTolerance(true, true, IOException.class.getName());
tolerance.handleException(new RuntimeException(), new Record());
tolerance = new FaultTolerance(true, true, IOException.class.getName());