public void GetSteamCmdDirectory()
        {
            GhostPanelConfig config = FakeConfig.GetFakeConfig();
            var provider            = new DefaultDirectoryProvider(config);

            Assert.Equal("C:\\SteamCmd", provider.GetSteamCmdDirectory());
        }
        public void GetGameFileDirectory()
        {
            GhostPanelConfig config = FakeConfig.GetFakeConfig();
            var provider            = new DefaultDirectoryProvider(config);

            Assert.Equal("C:\\Server Files", provider.GetGameFileDirectory());
        }
        public void GetBaseInstallDirectory()
        {
            GhostPanelConfig config = FakeConfig.GetFakeConfig();
            var provider            = new DefaultDirectoryProvider(config);

            Assert.Equal("C:\\Game Servers", provider.GetBaseInstallDirectory());
        }
        public void GetCorrectCredentailStringForAnonymous()
        {
            GhostPanelConfig config = FakeConfig.GetFakeConfig();
            var credProvider        = new SteamCredentialProvider(config);

            Assert.Equal("anonymous", credProvider.GetCredentialString());
        }
        public void GetCorrectCredentailStringForUserAndPass()
        {
            GhostPanelConfig config = FakeConfig.GetFakeConfig();

            config.SteamSettings.Password = "******";
            config.SteamSettings.Username = "******";
            var credProvider = new SteamCredentialProvider(config);

            Assert.Equal("TestUser Password123", credProvider.GetCredentialString());
        }