@Test
public void correctlyCreatesUnrecognizedException() {

    Throwable throwable = new NullPointerException();
    AutomationResultBuilder automationResultBuilder = new InstanceBasedAutomationResultBuilder();
    AutomationResult automationResult = automationResultBuilder.buildAutomationResult(throwable);
    assertEquals(automationResult, AutomationResult.UNRECOGNIZED_EXCEPTION);
}