Migrate assertThat() imports 36/88036/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 24 Feb 2020 13:28:09 +0000 (14:28 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 25 Feb 2020 10:58:38 +0000 (11:58 +0100)
Assert.assertThat() has been deprecated, with MatcherAssert.assertThat()
being its replacement.

Change-Id: Ifd0f0243756e78f0788f39867514958109d1ab24
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec/src/test/java/org/opendaylight/mdsal/binding/dom/codec/impl/AnydataLeafTest.java
binding/mdsal-binding-dom-codec/src/test/java/org/opendaylight/mdsal/binding/dom/codec/impl/AnyxmlLeafTest.java

index d73b60fa071434c8ef74bc07582d3f8503479ac6..60eecaf8c91ce73ef36ffae518268202afb5fbae 100644 (file)
@@ -8,12 +8,12 @@
 package org.opendaylight.mdsal.binding.dom.codec.impl;
 
 import static org.hamcrest.CoreMatchers.instanceOf;
+import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertSame;
-import static org.junit.Assert.assertThat;
 
 import java.util.Map.Entry;
 import javax.xml.transform.dom.DOMSource;
index 0d8ad957dfa98c360363b71730fe7a053babe0f9..ce7cb0bb2e22d0e469e0de097145e213401ec878 100644 (file)
@@ -8,12 +8,12 @@
 package org.opendaylight.mdsal.binding.dom.codec.impl;
 
 import static org.hamcrest.CoreMatchers.instanceOf;
+import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertSame;
-import static org.junit.Assert.assertThat;
 
 import java.util.Map.Entry;
 import javax.xml.transform.dom.DOMSource;