[full-ci][tests-only] remove throwExceptionIfNotFound parameter and unused userTriesToRestoreElementInTrash function
b7dc410e93