public void Fogbugz_command_will_encode_its_parameters() { this.command = new TestCommand(param1: "value with \"space\"", param2: 42); string query = this.command.ToQueryString(); query.ShouldContain("param1=value+with+%22space%22¶m2=42"); }
public CommandTests() { this.command = new TestCommand(param1: "foo", param2: 42); }