added assertProgressDialogShowing method