public void Version_Property_Returns_Value_From_AssemblyInfo()
        {
            var vm = new AboutViewModel();
            var versionInfo = typeof (AboutViewModel).Assembly.GetName();

            Assert.Equal(versionInfo.Version.ToString(), vm.Version);
        }
        public void Copyright_Property_Returns_Value_From_AssemblyInfo()
        {
            var vm = new AboutViewModel();
            var copyrightAttrib = typeof (AboutViewModel).Assembly.GetAttribute<AssemblyCopyrightAttribute>();

            Assert.NotNull(vm.Copyright);
            Assert.NotEmpty(vm.Copyright);
            Assert.Equal(copyrightAttrib.Copyright, vm.Copyright);
        }
        public void ShowAbout_Action_Displays_Dialog()
        {
            var shell = CreateShellViewModel();
            var aboutVm = new AboutViewModel();

            _viewModelFactory.Expect(x => x.Create<AboutViewModel>()).Return(aboutVm);

            shell.ShowAboutDialog();

            _windowManager.AssertWasCalled(x => x.ShowDialog(Arg.Is(aboutVm), Arg.Is<object>(null)), c => c.Repeat.Once());
        }