Unit testing for Radzen dialog service

Hi. Could anyone help me here to write a bunit for radzen Dialog service open dialog. When i wrote a setup for radzen dialog I get an exception
'Unsupported expression: x => x.OpenAsync()
Non-overridable members (here: DialogService.OpenAsync) may not be used in setup / verification expressions.'

How do we write the unit testing for this component.

You can check this thread: How to Mock DialogService? (the issue isn't resolved as a pull request was never sent).

1 Like