[MPH-159] - Upgrade JUnit 4.12
diff --git a/pom.xml b/pom.xml
index 73d5bb6..9b85abe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -199,7 +199,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.2</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/src/test/java/org/apache/maven/plugins/help/DescribeMojoTest.java b/src/test/java/org/apache/maven/plugins/help/DescribeMojoTest.java
index af88caa..a7a0dff 100644
--- a/src/test/java/org/apache/maven/plugins/help/DescribeMojoTest.java
+++ b/src/test/java/org/apache/maven/plugins/help/DescribeMojoTest.java
@@ -19,8 +19,8 @@
* under the License.
*/
-import static org.mockito.Mockito.any;
-import static org.mockito.Mockito.eq;
+import static org.mockito.Matchers.any;
+import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
@@ -40,9 +40,9 @@
import org.apache.maven.reporting.exec.MavenPluginManagerHelper;
import org.mockito.ArgumentCaptor;
-import junit.framework.Assert;
import junit.framework.TestCase;
import junitx.util.PrivateAccessor;
+
/**
* @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
*/
@@ -66,7 +66,7 @@
}
catch ( Throwable e )
{
- Assert.fail( "The API changes" );
+ fail( "The API changes" );
}
}