/**
  * @see getLabPrecondition(Integer labPreconditionId)
  * @verifies get LabPrecondition by LabPreconditionId
  */
 @Test
 @SkipBaseSetup
 public void getLabPrecondition_shouldGetLabPrecondition() throws Exception {
   LabPrecondition labPrecondition =
       Context.getService(LabCatalogService.class).getLabPrecondition(33333067);
   Assert.assertNotNull("getLabPreconditionByUuid should not return null", labPrecondition);
   Assert.assertEquals(
       "getLabPreconditionByUuid should return the right object",
       "0100dc0a-46da-11e1-99f4-0024e8c61285",
       labPrecondition.getUuid());
 }
 /**
  * @see voidLabPrecondition(LabPrecondition labLabPrecondition, String reason)
  * @verifies void LabPrecondition
  */
 @Test
 @SkipBaseSetup
 public void voidLabPrecondition_shouldVoidedLabPrecondition() throws Exception {
   LabPrecondition labPrecondition =
       Context.getService(LabCatalogService.class)
           .getLabPreconditionByUuid("0100dc0a-46da-11e1-99f4-0024e8c61285");
   Context.getService(LabCatalogService.class).voidLabPrecondition(labPrecondition, "");
   labPrecondition =
       Context.getService(LabCatalogService.class)
           .getLabPreconditionByUuid("0100dc0a-46da-11e1-99f4-0024e8c61285");
   Assert.assertNotNull("voidLabPrecondition should not return null", labPrecondition);
   Assert.assertEquals(
       "voidLabPrecondition should return the right object with voided true",
       "true",
       labPrecondition.getVoided().toString());
 }
 /**
  * @see LabCatalogService#saveLabPrecondition(LabPrecondition labLabPrecondition)
  * @verifies save LabPrecondition
  */
 @Test
 @SkipBaseSetup
 public void saveLabPrecondition_shouldSaveRecord() throws Exception {
   LabPrecondition labPrecondition =
       Context.getService(LabCatalogService.class)
           .getLabPreconditionByUuid("0100dc0a-46da-11e1-99f4-0024e8c61285");
   labPrecondition.setUuid("12312312-1231-1231-1231-123123123");
   Context.getService(LabCatalogService.class).saveLabPrecondition(labPrecondition);
   labPrecondition =
       Context.getService(LabCatalogService.class)
           .getLabPreconditionByUuid("12312312-1231-1231-1231-123123123");
   Assert.assertNotNull("saveLabPrecondition should not return null", labPrecondition);
   Assert.assertEquals(
       "saveLabPrecondition should return the right object",
       "12312312-1231-1231-1231-123123123",
       labPrecondition.getUuid());
 }