use of saulmm.avengers.mvp.presenters.CharacterListPresenter in project Avengers by saulmm.
the class ListPresenterTest method testThatPresenterRequestCharacters.
@Test
public void testThatPresenterRequestCharacters() throws Exception {
CharacterListPresenter listPresenter = givenAListPresenter();
when(mockGetCharacterUsecase.execute()).thenReturn(getFakeObservableCharacterList());
listPresenter.askForCharacters();
verify(mockGetCharacterUsecase, times(1)).execute();
}
Aggregations