public void GetTestRunnerStartInfo(IEnumerable <string> tests) { var runTestsMessage = new RunTestsMessage(); if (tests != null && tests.Any()) { runTestsMessage.Tests = tests.ToList(); } var message = new Message { MessageType = TestMessageTypes.TestExecutionGetTestRunnerProcessStartInfo, Payload = JToken.FromObject(runTestsMessage) }; queue.Post(message); }