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