public void should_start_and_linked_containers_with_run_params_if_specified(){
DockerImageBuildConfiguration dockerImageBuildConfiguration = new DockerImageBuildConfiguration(of("image", "ubutu",
"links", asList(of("image","mysql",
"run_params","-v /var/test=/var/test" )),
"command", "echo success"),"buildId", new ShellCommands());
ShellCommands shellCommands = dockerImageBuildConfiguration.toShellCommands(null);
Assert.assertEquals("docker run -d --name mysql_buildId -v /var/test=/var/test mysql",shellCommands.get(0));
Assert.assertEquals("docker run --rm --sig-proxy=true --link mysql_buildId:mysql ubutu sh -cx \"echo success\"",shellCommands.get(1));
Assert.assertEquals("docker kill mysql_buildId",shellCommands.get(2));
}