Executing Middleware Without a Server for Testing

Is there a way to execute a middleware without using a server ? I'm testing it
Was this page helpful?