Since the method Assert.assertEquals
is deprecated, which method are we supposed to use now?
The following code:
String arg1 = "test";
String arg2 = "me";
Assert.assertEquals(arg1, arg2);
Gives the following warnings:
Multiple markers at this line
- The method assertEquals(String, String) from the type Assert is deprecated
- The type Assert is deprecated