The basic assertNotNull and assertNotUndefined statements take a single parameter, that being the object being asserted. If the object has the value being asserted against, in this case, either null or undefined respectively, then the test fails.