@Test(expectedExceptions = IllegalStateException.class)
public void throwsIfNoResultsBecauseExecutionHasntStarted(){

    GenericErrorsOutputHandler handler = new GenericErrorsOutputHandler();
    handler.getResult();
}