users@jersey.java.net

[Jersey] Configuring ServletConfig and ServletContext at test time

From: Arnaud Bailly <abailly_at_oqube.com>
Date: Fri, 18 Dec 2009 01:24:59 -0800 (PST)

Hello,
I would like to test REST resources that use

 @Context ServletConfig config

to extract some information from its environment. How can I configure this
context injection within a test using jersey test framework ?

Thanks in advance,
Arnaud
-- 
View this message in context: http://n2.nabble.com/Configuring-ServletConfig-and-ServletContext-at-test-time-tp4185618p4185618.html
Sent from the Jersey mailing list archive at Nabble.com.