@Test
public void testJaxbToString() throws Exception {

  StageUtils stageUtils = new StageUtils(injector.getInstance(StageFactory.class));
  Stage s = StageUtils.getATestStage(1, 2, "host1", "", "hostParamsStage");
  String hostname = s.getHosts().get(0);
  List<ExecutionCommandWrapper> wrappers = s.getExecutionCommands(hostname);
  for (ExecutionCommandWrapper wrapper : wrappers) {
    // Why are we logging in test case?
    // LOG.info("Command is " + StageUtils.jaxbToString(wrapper.getExecutionCommand()));
  }
  assertEquals(StageUtils.getActionId(1, 2), s.getActionId());
}