BeEmpty matcher is more forgiving and accepts typed nils.