/** * Failure test case for checkNull.The argument is null so <code>IllegalArgumentException</code> * should be thrown. */ @Test(expected = IllegalArgumentException.class) public void testCheckNullWithLoggingFailure() { Helper.checkNullWithLogging(null, "obj", "method", LogManager.getLog()); }
/** * Accuracy test case for checkNull.The argument is not null so <code>IllegalArgumentException * </code> should not be thrown. */ @Test public void testCheckNullWithLogging() { Helper.checkNullWithLogging("obj", "obj", "method", LogManager.getLog()); }