public void Test_AutosLoad()
        {
            AutoViewModel vm = new AutoViewModel(kernel.Get <IServiceFactory>());

            vm.Init();

            Assert.AreEqual(3, vm.Autos.Count);
        }
Пример #2
0
        public void Test_AutosLoad()
        {
            AutoViewModel vm = new AutoViewModel(kernel.Get <IServiceFactory>());

            vm.Init();

            Assert.IsTrue(vm.Autos.Count > 0);
        }
Пример #3
0
        public void Test_AutosLoad()
        {
            AutoViewModel vm = new AutoViewModel(kernel.Get <IServiceFactory>());

            vm.Init();

            Assert.Inconclusive("Test not implemented.");
        }
Пример #4
0
        public void Test_AutosLoad()
        {
            AutoViewModel vm = new AutoViewModel(kernel.Get <IServiceFactory>());

            vm.Init();

            Assert.IsTrue(vm.LoadCommand.CanExecute(null));
            Assert.AreEqual(3, vm.Autos.Count);
        }
 public void Init()
 {
     autoViewModel.Init();
     kundeViewModel.Init();
     reservationViewModel.Init();
 }