assertNotNull([String message], java.lang.Object object)
Asserts that the given object is null (or not null), failing otherwise. The message is optional.
import junit.framework.TestCase;
public class TestLargest extends TestCase {
public TestLargest(String name) {
super(name);
}
public void testEmpty() {
assertNull("it should be null", null);
}
}