Trigger "Page has expired" page to test a theme?

I am testing a theme I’m building, and I’m looking for a way to reliably trigger the “Page has expired” page, so I can write an automated test. Is there a known way to do this that doesn’t require waiting for a timeout? Thanks for any help!