SyntaxFix
Write A Post
Hire A Developer
Questions
assertNotNull asserts that the object is not null. If it is null the test fails, so you want that.
assertNotNull