### Question:
AssertUtils { public static void assertNotNull(Object instance, String msg) { if (instance == null) { throw new IllegalArgumentException(msg); } }  static void assertNotNull(Object instance, String msg); static void assertNull(Object instance, String msg); static void isTrue(final boolean expression, final String message,
                              final Object... values); static void isFalse(final boolean expression, final String message,
                               final Object... values);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testAssertNotNullNull() { String msg = "object is null"; try { AssertUtils.assertNotNull(null, msg); } catch (Exception e) { Assert.assertTrue(e instanceof IllegalArgumentException); Assert.assertTrue(e.getMessage().contains(msg)); throw e; } }
@Test public void testAssertNotNullNotNull() { AssertUtils.assertNotNull(new Object(), "object is null"); }