/** @see {@link HtmlFormEntryUtil#getState(String,Program)} */
 @Test
 @Verifies(
     value = "should return the workflow with the matching id",
     method = "getWorkflow(String)")
 public void getWorkflow_shouldReturnTheWorkflowWithTheMatchingId() throws Exception {
   Assert.assertEquals(
       "84f0effa-dd73-46cb-b931-7cd6be6c5f81", HtmlFormEntryUtil.getWorkflow("1").getUuid());
 }
  /** @see {@link HtmlFormEntryUtil#getState(String,Program)} */
  @Test
  @Verifies(
      value = "should look up a workflow by a concept mapping",
      method = "getWorkflow(String)")
  public void getWorkflow_shouldLookUpAWorkflowByAConceptMapping() throws Exception {
    // load this data set so that we get the additional patient program with concept mapping
    executeDataSet(
        XML_DATASET_PATH + new TestUtil().getTestDatasetFilename(XML_REGRESSION_TEST_DATASET));

    Assert.assertEquals(
        "7c3e071a-53a7-11e1-8cb6-00248140a5eb",
        HtmlFormEntryUtil.getWorkflow("SNOMED CT: Test Workflow Code").getUuid());
  }