I have problems when calling the static method of the class ManagerPageFlowScope.getInstance().getParamPageFlowScope(any(), the one that throws an error is the getInstance(), and it always returns null.
@Mock
ManagerPageFlowScope mpfs;
@Test
public void mostrarSeriesTest() {
ArrayList<Serie> list = new ArrayList<Serie>();
Serie s = new Serie("Test01", "N");
Long l = Long.parseLong("59960000");
Etiqueta e = new Etiqueta(l);
list.add(s);
when(mpfs.getInstance().getParamPageFlowScope("consultaSerie")).thenReturn(e);