public void CanLoadProjectWithNullFacade()
        {
            Func <string, IDisposable> timerFunc = s => new MockDisposable();

            var command = new OpenProjectCommand(null, timerFunc);

            Assert.IsFalse(command.CanExecute(null));
        }
        public void CanLoadProjectWhileUnableToLoad()
        {
            var project = new Mock <ILinkToProjects>();
            {
                project.Setup(p => p.CanLoadProject())
                .Returns(false);
            }

            Func <string, IDisposable> timerFunc = s => new MockDisposable();

            var command = new OpenProjectCommand(project.Object, timerFunc);

            Assert.IsFalse(command.CanExecute(null));
        }