there is "assertNull" method for such checks