From 4f7c9a92b3b9e2a79c5567a97bcc7257e78533fe Mon Sep 17 00:00:00 2001
From: Nelson Tavares de Sousa <ntd@informatik.uni-kiel.de>
Date: Fri, 17 Apr 2015 15:50:04 +0200
Subject: [PATCH] even more restrictive

---
 .../framework/exceptionHandling/ExceptionHandlingTest.java  | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/test/java/teetime/framework/exceptionHandling/ExceptionHandlingTest.java b/src/test/java/teetime/framework/exceptionHandling/ExceptionHandlingTest.java
index e50b59f6..4d231974 100644
--- a/src/test/java/teetime/framework/exceptionHandling/ExceptionHandlingTest.java
+++ b/src/test/java/teetime/framework/exceptionHandling/ExceptionHandlingTest.java
@@ -56,6 +56,12 @@ public class ExceptionHandlingTest {
 			boolean exceptionArised = false;
 			try {
 				exceptionPassingAndTermination();
+			} catch (AnalysisException e) {
+				exceptionArised = true;
+			}
+			assertTrue(exceptionArised);
+			exceptionArised = false;
+			try {
 				terminatesAllStages();
 			} catch (AnalysisException e) {
 				exceptionArised = true;
-- 
GitLab