| How to Mock Primefaces RequestContext? | |
|---|---|
| Tweet Topic Started: Mar 22 2018, 12:07 PM (9 Views) | |
| victorgrant | Mar 22 2018, 12:07 PM Post #1 |
|
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. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · General Discussion · Next Topic » |






8:37 AM Jul 11