I have a controller , the post endpoint of which uses the request.getRemoteUser() to pass on the logged in user details to the service layer... I need to perform integration testing on this endpoint . The question is : how can I pass the HttpRequest Object to the Post endpoint .
Aucun commentaire:
Enregistrer un commentaire