202122232425262728
Presenter.View view; State state=new State(); StateChanger stateChanger=new StateChanger(); @Before public void setup() { this.presenter = new Presenter(); this.view = Mockito.mock(Presenter.View.class); presenter.setView(this.view); }