closest() method should test the resource itself