Index: /applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/validation/PTAssistantValidatorTest.java
===================================================================
--- /applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/validation/PTAssistantValidatorTest.java	(revision 33320)
+++ /applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/validation/PTAssistantValidatorTest.java	(revision 33321)
@@ -27,4 +27,5 @@
 import org.openstreetmap.josm.data.validation.TestError;
 import org.openstreetmap.josm.data.validation.TestError.Builder;
+import org.openstreetmap.josm.gui.progress.ProgressMonitor;
 import org.openstreetmap.josm.plugins.pt_assistant.PTAssistantPlugin;
 import org.openstreetmap.josm.plugins.pt_assistant.actions.FixTask;
@@ -40,5 +41,4 @@
 import org.openstreetmap.josm.plugins.pt_assistant.utils.StopToWayAssigner;
 import org.openstreetmap.josm.plugins.pt_assistant.utils.StopUtils;
-import org.openstreetmap.josm.tools.Utils;
 
 public class PTAssistantValidatorTest extends Test {
@@ -410,10 +410,19 @@
 	}
 
+	@Override
+	public void startTest(ProgressMonitor progressMonitor) {
+		super.startTest(progressMonitor);
+
+		// reset the static collections in SegmentChecker:
+		SegmentChecker.reset();
+	}
+
 	/**
 	 * Method is called after all primitives has been visited, overrides the
 	 * method of the superclass.
 	 */
+	@Override
 	public void endTest() {
-		
+
 		// modify the error messages for the stop-by-stop test:
 		SegmentChecker.modifyStopByStopErrorMessages();
@@ -425,7 +434,4 @@
 			this.errors.add(error);
 		}
-		
-		// reset the static collections in SegmentChecker:
-		SegmentChecker.reset();
 
 		super.endTest();
