Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Current »

Overview

Test case for edge cases of the Jpa ClamlComputePreferredNameHandler.

Procedure 1

  • Instantiate preferred name handler

     config = ConfigUtility.getConfigProperties();
     ComputePreferredNameHandler handlerService =
              ConfigUtility.newStandardHandlerInstanceWithConfiguration("compute.preferred.name.handler",
                  "ICD9CM", ComputePreferredNameHandler.class);
  • Call getPreferredName(new ConceptJpa())
    • TEST: returns null
  • Call getPreferredName(new HashSet<Description>())
    • TEST: returns null
  • Call isPreferredName(new DescriptionJpa())
    • TEST: returns false
  • Call isPreferredName(new DescriptionJpa(), new LanguageRefSetMemberJpa())
    • TEST: returns false

Expected Runtime

  • < 1 sec

Notes

  • n/a
  • No labels