I have this method
@Override
protected void onPause() {
unsuscribeFromMessageDispatcher(RaffleListActivity.this);
Intent service = new Intent(this, AsyncIntentService.class);
service.putExtra("TASK", TASKID_GET_RAFFLE_LIST);
stopService(service);
super.onPause();
}
And when I make the test, if fails in the super.onPause();
How can I avoid this line with mockito?
Aucun commentaire:
Enregistrer un commentaire