@Test
public void abortOnFailureTest() {

    TransformationUtility transformationUtility = getNewTestTransformationUtility();
    assertFalse(transformationUtility.isAbortOnFailure());
    assertNull(transformationUtility.getAbortionMessage());
    assertEquals(transformationUtility.abortOnFailure(true), transformationUtility);
    assertTrue(transformationUtility.isAbortOnFailure());
    assertEquals(transformationUtility.abortOnFailure(false), transformationUtility);
    assertFalse(transformationUtility.isAbortOnFailure());
    assertEquals(transformationUtility.abortOnFailure("Let's crash it!"), transformationUtility);
    assertTrue(transformationUtility.isAbortOnFailure());
    assertEquals(transformationUtility.getAbortionMessage(), "Let's crash it!");
    assertEquals(transformationUtility.abortOnFailure(false), transformationUtility);
    assertNull(transformationUtility.getAbortionMessage());
}