Пример #1
0
        public void If_File_in_slot_1_the_command_is_enabled()
        {
            _service.Expect(s => s.Filenames).Return(new List <string> {
                "File1"
            });

            var cmd = new OpenRecentFileCommand(_service, 1);

            Assert.That(cmd.Enabled, Is.True);
            _service.VerifyAllExpectations();
        }