used mockito for the view and a stub for the model