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

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