Example #1
0
 @Test(expected = IllegalArgumentException.class)
 public void testcheckEqualFail() {
   Argument.checkEqual(1, 2, "message");
   Argument.checkEqual("1", null, "message");
 }
Example #2
0
 @Test
 public void testcheckEqual() {
   Argument.checkEqual(null, null, "message");
   Argument.checkEqual("1", "1", "message");
 }