@Test(expected = IllegalStateException.class) public void testNotNull2() throws Exception { notNull(null, new IllegalStateException("null object")); }
public static void notNull(Object obj, String message) { if (obj == null) { throw new IllegalArgumentException(message); } }
Assert { public static void notNull(Object obj, String message) { if (obj == null) { throw new IllegalArgumentException(message); } } }
Assert { public static void notNull(Object obj, String message) { if (obj == null) { throw new IllegalArgumentException(message); } } protected  Assert(); }
Assert { public static void notNull(Object obj, String message) { if (obj == null) { throw new IllegalArgumentException(message); } } protected  Assert(); static void notNull(Object obj, String message); static void notNull(Object obj, RuntimeException exeception); }
Assert { public static void notNull(Object obj, String message) { if (obj == null) { throw new IllegalArgumentException(message); } } protected  Assert(); static void notNull(Object obj, String message); static void notNull(Object obj, RuntimeException exeception);  }