Here it should be used assert.isNotNull. But I would prefer a stronger assertion if possible