PowerMockito.mockStatic(ReflectionPresenterFactory.class);
when(ReflectionPresenterFactory.fromViewClass(any(Class.class))).thenReturn(mockFactory);
}
@Before
public void setUp() throws Exception {
<BUG>setUpPresenter();
tested = spy(VIEW_CLASS);</BUG>
suppress(method(BASE_VIEW_CLASS, "onCreate", Bundle.class));
suppress(method(BASE_VIEW_CLASS, "onSaveInstanceState", Bundle.class));
suppress(method(BASE_VIEW_CLASS, "onResume"));

PowerMockito.mockStatic(ReflectionPresenterFactory.class);
when(ReflectionPresenterFactory.fromViewClass(any(Class.class))).thenReturn(mockFactory);
}
@Before
public void setUp() throws Exception {
suppress(method(BASE_VIEW_CLASS, "onCreate", Bundle.class));
suppress(method(BASE_VIEW_CLASS, "onSaveInstanceState", Bundle.class));
suppress(method(BASE_VIEW_CLASS, "onResume"));
