I want to check proper middlewares are used for my router in my test code Can i get handlerFunc array for specific router and compare them with my handlerFunc?

Comment From: Fov6363

you can use ctx.HandlerNames get all handles name, and compare it