public CoinDetailPageViewModel(INavigationService navigationService, ICoinGeckoAPIManager coinGeckoApiManager, IPageDialogService pageDialogService, IDialogService dialogService, IAlertDialogService alertDialogService) { _navigationService = navigationService; _coinGeckoApiManager = coinGeckoApiManager; _alertDialogService = alertDialogService; GoBackCommand = new DelegateCommand(GoBack); }
public CoinViewTikiUnitTests() { _coinGeckoApiManager = new CoinGeckoAPIManager(); _alertDialogService = new Mock <IAlertDialogService>().Object; _navigationService = new Mock <INavigationService>().Object; _pageDialogService = new Mock <IPageDialogService>().Object; _mockConnectivity = new MockConnectivity(); _coinListVM = new CoinListPageViewModel(_navigationService, _coinGeckoApiManager, _alertDialogService, _pageDialogService, _mockConnectivity ); }