public void OnModifyButtonClicked_CustomerIsNull_MessageBoxIsShown() { _controller.OnModifyButtonClicked(null); _mockedDialogService.Verify(dialogService => dialogService.ShowMessageBox(It.IsAny <string>(), It.IsAny <string>(), It.IsAny <MessageBoxButtons>(), MessageBoxIcon.Error), Times.Once); }