public ViewModelLocator()
        {
            MainViewModel = new MainViewModel();
            InfoViewModel = new InfoViewModel();
            AppsViewModel = new AppsViewModel();

            ServiceLocator.SetLocatorProvider(() => SimpleIoc.Default);
            SimpleIoc.Default.Register<MainViewModel>();
            SimpleIoc.Default.Register<InfoViewModel>();
            SimpleIoc.Default.Register<AppsViewModel>();
            Registered = true;
        }
 public void Initialise()
 {
     _infoViewModel = new InfoViewModel();
 }
 public void InfoModelIsAvailableWhenPopulated()
 {
     InfoViewModel _infoViewModel = new InfoViewModel();
     _infoViewModel.GetInfo();
     Assert.IsTrue(_infoViewModel.IsModelAvailable);
 }