_controller.setConfig(config);
final Client client1 = new Client(new ClientJmsDelegate(_context));
final Thread client1Thread = createBackgroundClientThread(client1);
_controller.awaitClientRegistrations();
ResultsForAllTests results = _controller.runAllTests();
_controller.stopAllRegisteredClients();
assertClientThreadsShutdown(client1Thread);
assertClientsStopped(ClientState.STOPPED, client1);
assertFalse("Test should have no errors", results.hasErrors());
List<ITestResult> allTestResults = results.getTestResults();
assertEquals("Unexpected number of test results", 1, allTestResults.size());
ITestResult testResult1 = allTestResults.get(0);
assertEquals("Unexpected test name", "Test 1", testResult1.getName());
List<ParticipantResult> test1ParticipantResults = testResult1.getParticipantResults();
assertEquals("Unexpected number of participant results for test 1", 1, test1ParticipantResults.size());