I have a class that I use a getRequestParameterMap to retrieve some data, like this:
FacesContext fc = FacesContext.getCurrentInstance();
String oidValue = fc.getExternalContext.getRequestParameterMap().get("oidValue");
And I need to create some Junit tests because there is some conditionals involved, so what I'm looking for is some way to mock values on:
getRequestParameterMap()