Esempio n. 1
0
        public void load_modules()
        {
            // Setup
            var viewModel    = new ModulesViewModel();
            var dependencies = new ModulesDependencies()
            {
                Services = new MockModulesServices()
            };

            viewModel.Initialize(dependencies);

            // Test
            var modules = viewModel.LoadModules();

            // Verify
            Assert.IsTrue(modules != null);
        }