예제 #1
0
        public void Set_NewParameter_ParameterShouldHaveCorrectValue()
        {
            var cmd = new SymCommand();

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

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

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