@Test
public void correctlyCreatesInterruptedExceptionThread() {

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