@Test
public void testSetGracePeriod() throws Exception {

  dockerStopCommand.setGracePeriod(GRACE_PERIOD);
  assertEquals("stop", StringUtils.join(",",
      dockerStopCommand.getDockerCommandWithArguments()
          .get("docker-command")));
  assertEquals("foo", StringUtils.join(",",
      dockerStopCommand.getDockerCommandWithArguments().get("name")));
  assertEquals("10", StringUtils.join(",",
      dockerStopCommand.getDockerCommandWithArguments().get("time")));
  assertEquals(3, dockerStopCommand.getDockerCommandWithArguments().size());
}