I am working on writing Unit Test for my Xamarin.Forms Solution. In my ViewModel, all my ViewModel are inherited from BaseViewModel with INavigation as a parameter.
public TestViewModel(INavigation navigation) : base(navigation)
this.navigation = navigation;
Now i am facing issue with initializing my ViewModel from UnitTest Class. How can i initialize and pass object of INavigation to while initializing ViewModel object in UnitTest class?