CDI-Unit @SupportJaxRs

49 views
Skip to first unread message

Danny Rucker

unread,
Dec 13, 2017, 11:42:15 AM12/13/17
to CDI-Unit
Bryn,

Once a test class is annotated with @SupportJaxRs, the target class we are testing which has an @Context private HttpServletRequest request in it.  Which this looks all fine.  How can we tell the test case to return certain responses like getRemoteUser() as something specific?

Thanks,
Danny
Reply all
Reply to author
Forward
0 new messages