I think it should be assertTrue and not assertNotNull.