Modernize testutils tests
[yangtools.git] / common / testutils / src / test / java / org / opendaylight / yangtools / testutils / mockito / tests / MethodExtensionsTest.java
index a48538ca98e7e7d58c54f383f0fe3f9c2421499d..9d423ca684bd9c52ef6277f31f10a2b3a4c7042c 100644 (file)
@@ -7,21 +7,20 @@
  */
 package org.opendaylight.yangtools.testutils.mockito.tests;
 
-import static com.google.common.truth.Truth.assertThat;
+import static org.junit.Assert.assertEquals;
 
 import java.lang.reflect.Method;
 import org.junit.Test;
 import org.opendaylight.yangtools.testutils.mockito.MethodExtensions;
 
 public class MethodExtensionsTest {
-
     public <T> void fooBar(int index, T element) {
+        // No-op
     }
 
     @Test
     public void betterToString() throws Exception {
         Method method = MethodExtensionsTest.class.getMethod("fooBar", Integer.TYPE, Object.class);
-        assertThat(MethodExtensions.toString(method)).isEqualTo("fooBar(int index, T element)");
+        assertEquals("fooBar(int index, T element)", MethodExtensions.toString(method));
     }
-
 }