Asserts that the value is not null.
AssertException otherwise
1 Object foo = new Object(); 2 3 assertNotNull(foo); 4 5 auto exception = expectThrows!AssertException(assertNotNull(null)); 6 7 assertEquals("Assertion failure", exception.msg);
See Implementation
Asserts that the value is not null.