private void sendAndAssertOneMessage() throws Exception, InterruptedException {
final String payload = "dummy payload";
// remove the currently registered service for SimpleCamelService
_testKit.removeService("SimpleCamelService");
final MockHandler simpleCamelService = _testKit.registerInOnlyService("SimpleCamelService");
sendTextToQueue(payload, "testQueue");
// Allow for the JMS Message to be processed.
Thread.sleep(3000);
final LinkedBlockingQueue<Exchange> recievedMessages = simpleCamelService.getMessages();
assertThat(recievedMessages, is(notNullValue()));
final Exchange recievedExchange = recievedMessages.iterator().next();
assertThat(recievedExchange.getMessage().getContent(String.class), is(equalTo(payload)));
}