Welcome Guest [Log In] [Register]
Add Reply
How to Mock Primefaces RequestContext?
Topic Started: Mar 22 2018, 12:06 PM (2 Views)
victorgrant

Hello,

I am writing the Junit test cases for my controller. I have
RequestContext.getCurrentInstance().execute("");
How can I Mock primefaces RequestContext using Junit or PowerMock? Please help me.

Any help will be apprecited.

I didn't find the right solution from the Internet.

References:
https://forum.primefaces.org/viewtopic.php?t=41263
product launches

Thank you.



Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · General Discussion · Next Topic »
Add Reply