@Test
public void showWithUploadWarning() {

    ((FileUploadPopupView) popupView).show("mainText",
                                           "uploadWarning",
                                           "okButtonText",
                                           okButtonCommandMock);
    verify(uploadWarningMock, times(1)).setInnerText(eq("uploadWarning"));
    verify(((FileUploadPopupView) popupView), times(1)).show(eq("mainText"),
                                                                                  eq("okButtonText"),
                                                                                  eq(okButtonCommandMock));
}