*/
public class ModuleTemplatePresenterTest extends StubbedClientTestCase {
/** Test replaceModuleBody(). */
@Test public void testReplaceModuleBody() {
IsWidget contents = mock(IsWidget.class);
IsWidget viewWidget = mock(IsWidget.class);
ConcreteModuleTemplatePresenter presenter = createPresenter();
when(presenter.getView().getViewWidget()).thenReturn(viewWidget);
presenter.onReplaceModuleBody(contents);
verify(presenter.getView()).replaceModuleBody(contents);
verify(presenter.getEventBus()).replaceRootBody(viewWidget);