@Test
public void correctlyCreatesAssertionError() {

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