@Test
public void testBuildContainerLaunchCommandWithSpace() throws Exception {

  AbstractProviderService providerService = new DockerProviderService();
  Component component = serviceContext.scheduler.getAllComponents().entrySet()
      .iterator().next().getValue();
  ContainerLaunchService.ComponentLaunchContext clc =
      createEntryPointCLCFor(testService, component, "ls -l \" space\"");
  ComponentInstance instance = component.getAllComponentInstances().iterator()
      .next();
  Container container = mock(Container.class);
  providerService.buildContainerLaunchCommand(launcher, testService, instance,
      rule.getFs(), serviceContext.scheduler.getConfig(), container, clc,
      null);
  Assert.assertEquals("commands don't match.",
      Lists.newArrayList("ls,-l, space"), launcher.getCommands());
}