Exemplo n.º 1
0
        public void Set()
        {
            ISource <string> source = new EnvironmentSource("A");

            source.Value = "2";

            Assert.Equal("2", Environment.GetEnvironmentVariable("A"));
        }
Exemplo n.º 2
0
        public void Get()
        {
            Environment.SetEnvironmentVariable("A", "1");

            ISource <string> source = new EnvironmentSource("A");

            Assert.Equal("1", source.Value);
        }
Exemplo n.º 3
0
 public EnvironmentSourceShould()
 {
     _source = new EnvironmentSource();
 }