MainPresenter { public void onCreate() { mView.setContentView(); mView.initNoteRecyclerView(); mView.updateRecyclerView(mModel.getNoteList()); } MainPresenter(MainView view, MainModel model); void onCreate(); void onSaveButtonClick(String note); void onDeleteButtonClick(int position);  }
@Test public void testOnCreate() throws Exception { presenter.onCreate(); verify(view).setContentView(); verify(view).initNoteRecyclerView(); verify(view).updateRecyclerView(model.getNoteList()); }