public void AccountOnMachineTest()
        {
            var accountCollection = JsonConvert.DeserializeObject <AzureDevOpsAccountCollection>(TestResources.TestConfigFile);
            var token             = accountCollection.PatTokens.First();

            ModuleStartup.ProcessCredentials(token);

            Assert.IsTrue(token.IsInScope);
        }
        public void AccountNotOnMachineTest()
        {
            var accountCollection = JsonConvert.DeserializeObject <AzureDevOpsAccountCollection>(TestResources.Pre1905TestConfigFile);
            var token             = accountCollection.PatTokens.First();

            ModuleStartup.ProcessCredentials(token);

            Assert.IsFalse(token.IsInScope);
            Debug.Write(ConfigurationHelpers.GetMachineId());
        }