public void Running_test_case_should_post_request_with_test_container_and_test_case()
{
const string testContainer = "TestContainer";
const string testCase = "TestCase";
var expectedData = new NameValueCollection {
{ "cboTestContainers", testContainer },
{ "cboTestCases", testCase },
{ "cmdRun", "Run Tests"}
};
var runner = CreateRunner()
.WithAddress("http://path/to/test-runner")
.WithTestContainerAndCase(testContainer, testCase);
var results = runner.Run();
_client.AssertWasCalled(c =>
c.PostRequest(
Arg<string>.Is.Anything,
Arg<NameValueCollection>.Matches(arg => arg.SequenceEqual(expectedData))));
}