@Test
public void shouldCreateCamelContextUsingTheFactory() throws Exception {

   final BootUtil bootUtil = new BootUtil();
   final Thread platform = bootUtil.getMicroservicePlatform(this.getClass().getPackage().getName());
   platform.start();
   Assert.assertTrue(semaphore.tryAcquire(1, TimeUnit.MINUTES), "Timed-out while waiting for the camel route deployment."); // wait for the route to be deployed
   CamelContext context = (CamelContext) bootUtil.getContext().getProperties().get(CamelMicroserviceProvider.CAMEL_CONTEXT);
   Assert.assertSame(context, camelContext);
   platform.interrupt();
   platform.join();
}