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()); }