assertThatCode(() -> service.searchDocuments(...)) passed vacuously on an empty page; capture the result, assert totalElements > 0, then assert getSender().getLastName() is accessible post-return. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>