public void Set_NewParameter_ParameterShouldHaveCorrectValue() { var cmd = new SymCommand(); cmd.Set("Parameter3", "RandomValue"); cmd.Parameters["Parameter3"].Should().Be("RandomValue"); }
public void Set_NewParameter_ParameterShouldExist() { var cmd = new SymCommand(); cmd.Set("Parameter3", "RandomValue"); cmd.Parameters.ContainsKey("Parameter3").Should().BeTrue(); }
public void Set_ExistingParameter_ParameterShouldHaveNewValue() { SymCommand cmd = SymCommand.Parse("CommandMessage~Parameter1=Value"); cmd.Set("Parameter1", "NewValue"); cmd.Parameters["Parameter1"].Should().Be("NewValue"); }