GWT and Mock the view in MVP pattern
Posted
by Yannick Eurin
on Stack Overflow
See other posts from Stack Overflow
or by Yannick Eurin
Published on 2010-06-07T04:53:23Z
Indexed on
2010/06/07
5:22 UTC
Read the original article
Hit count: 330
Hello,
i dunno if the question is already ask, but i couldn't find it... i'm searching a way to mock my view in order to test my presenter ? i try to use mockito for the view, and set it in the presenter, but in result in presenter, when i call presenter.getDisplay() (the getter for the view) all of my widget is null ? as i believe it's normal mockito will not mock the widget.
i'm 100% sure i mistaken something but i couldnt find it.
thanks for your enlightement :)
© Stack Overflow or respective owner