Exemplo n.º 1
0
        public void Set_NewParameter_ParameterShouldHaveCorrectValue()
        {
            var cmd = new SymCommand();

            cmd.Set("Parameter3", "RandomValue");
            cmd.Parameters["Parameter3"].Should().Be("RandomValue");
        }
Exemplo n.º 2
0
        public void Set_NewParameter_ParameterShouldExist()
        {
            var cmd = new SymCommand();

            cmd.Set("Parameter3", "RandomValue");
            cmd.Parameters.ContainsKey("Parameter3").Should().BeTrue();
        }
Exemplo n.º 3
0
        public void Set_ExistingParameter_ParameterShouldHaveNewValue()
        {
            SymCommand cmd = SymCommand.Parse("CommandMessage~Parameter1=Value");

            cmd.Set("Parameter1", "NewValue");
            cmd.Parameters["Parameter1"].Should().Be("NewValue");
        }
Exemplo n.º 4
0
 public void Set_NewParameter_ParameterShouldHaveCorrectValue()
 {
     var cmd = new SymCommand();
     cmd.Set("Parameter3", "RandomValue");
     cmd.Parameters["Parameter3"].Should().Be("RandomValue");
 }
Exemplo n.º 5
0
 public void Set_NewParameter_ParameterShouldExist()
 {
     var cmd = new SymCommand();
     cmd.Set("Parameter3", "RandomValue");
     cmd.Parameters.ContainsKey("Parameter3").Should().BeTrue();
 }