public void QueryStatus_AlwaysEnabled()
        {
            // Arrange
            var userSettingsProvider = CreateDummyUserSettingsProvider("d:\\a\\file.txt");
            var testSubject          = new TestableOpenSettingsFileWpfCommand(new ConfigurableServiceProvider(), userSettingsProvider, null, new TestLogger());

            // Act & Assert
            testSubject.CanExecute(null).Should().BeTrue();
        }
        public void Execute_EnsureFileExists()
        {
            // Arrange
            var userSettingsProvider = CreateDummyUserSettingsProvider("d:\\a\\file.txt");
            var testSubject          = new TestableOpenSettingsFileWpfCommand(new ConfigurableServiceProvider(), userSettingsProvider, null, new TestLogger());

            // Act
            testSubject.Execute(null);

            // Assert
            testSubject.CallCount.Should().Be(1);
            testSubject.LastSuppliedFilePath.Should().Be("d:\\a\\file.txt");
        }