Index: trunk/test/unit/org/openstreetmap/josm/TestUtils.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/TestUtils.java	(revision 14157)
+++ trunk/test/unit/org/openstreetmap/josm/TestUtils.java	(revision 14158)
@@ -59,4 +59,5 @@
 
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+import mockit.integration.internal.TestRunnerDecorator;
 
 /**
@@ -423,4 +424,6 @@
         } catch (UnsupportedOperationException e) {
             Assume.assumeNoException(e);
+        } finally {
+            TestRunnerDecorator.cleanUpAllMocks();
         }
     }
