Migrate to MatcherAssert.assertThat() 39/88239/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 4 Mar 2020 08:40:19 +0000 (09:40 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 4 Mar 2020 08:40:55 +0000 (09:40 +0100)
Assert.assertThat() has been deprecated, use its new place.

Change-Id: I79bc92e27489c1a07a7beb23ce8f7c98abe37d2b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
tests/immutables-jpms/src/test/java/org/opendaylight/odlparent/test/immutables/jpms/JmpsInterfaceTest.java
tests/immutables-plain/src/test/java/org/opendaylight/odlparent/test/immutables/plain/PlainInterfaceTest.java

index 951cfdb6b4c16d9024e980a63339fb6048f9bde0..d88fbf9c1d4cffd2f71d2219bdff6ef467bfc69a 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.odlparent.test.immutables.jpms;
 
+import static org.hamcrest.MatcherAssert.assertThat;
 import static org.hamcrest.Matchers.isA;
-import static org.junit.Assert.assertThat;
 
 import org.junit.Test;
 
index b45a65a1f46e602504ce12d2d7913540de503f66..75312f7d832ce65e31d8f60b542c2c11051eec8b 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.odlparent.test.immutables.plain;
 
+import static org.hamcrest.MatcherAssert.assertThat;
 import static org.hamcrest.Matchers.isA;
-import static org.junit.Assert.assertThat;
 
 import org.junit.Test;