2

I am trying to verify that a call to IUiVisualizerService.ShowAsync(dialog) has been made. I am using machine specifications as my testing framework with FakeItEasy. Any insight would be helpful.

thanks

Bob
  • 75
  • 5

1 Answers1

0

In previous versions of Catel, it was shipped with a test implementation of the services (such as IUIVisualizerService), but due to low usage it has been removed. You could try to copy that implementation, or you could simply mock the service and return the expected call (in the end, that's all you need to do).

Geert van Horrik
  • 5,689
  • 1
  • 18
  • 32