### Question:
GlossaryViewClient extends OmasClient { public Glossary getTermHomeGlossary(String userId, String termGUID) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException { GlossaryViewEntityDetailResponse response = getSingleEntityResponse("getTermHomeGlossary", GET_TERM_HOME_GLOSSARY, serverName, userId, termGUID); return firstEntity(castOmasResult(response.getResult())); } GlossaryViewClient(String serverName, String serverPlatformRootURL);  GlossaryViewClient(String serverName, String serverPlatformRootURL, String userId, String password); List<Glossary> getAllGlossaries(String userId, Integer from, Integer size); List<GlossaryTerm> getAllGlossaryTerms(String userId, Integer from, Integer size); List<GlossaryCategory> getAllCategories(String userId, Integer from, Integer size); Glossary getGlossary(String userId, String glossaryGUID); Glossary getTermHomeGlossary(String userId, String termGUID); Glossary getCategoryHomeGlossary(String userId, String categoryGUID); List<ExternalGlossaryLink> getExternalGlossaryLinksOfGlossary(String userId, String glossaryGUID, Integer from, Integer size); GlossaryCategory getCategory(String userId, String categoryGUID); List<GlossaryCategory> getCategories(String userId, String glossaryGUID, Integer from, Integer size); List<GlossaryCategory> getSubcategories(String userId, String categoryGUID, Integer from, Integer size); List<ExternalGlossaryLink> getExternalGlossaryLinksOfCategory(String userId, String categoryGUID, Integer from, Integer size); GlossaryTerm getTerm(String userId, String termGUID); List<GlossaryTerm> getTermsOfGlossary(String userId, String glossaryGUID, Integer from, Integer size); List<GlossaryTerm> getTermsOfCategory(String userId, String categoryGUID, Integer from, Integer size); List<ExternalGlossaryLink> getExternalGlossaryLinksOfTerm(String userId, String termGUID, Integer from, Integer size); List<GlossaryTerm> getRelatedTerms(String userId, String termGUID, Integer from, Integer size); List<GlossaryTerm> getSynonyms(String userId, String termGUID, Integer from, Integer size); List<GlossaryTerm> getAntonyms(String userId, String termGUID, Integer from, Integer size); List<GlossaryTerm> getPreferredTerms(String userId, String termGUID, Integer from, Integer size); List<GlossaryTerm> getReplacementTerms(String userId, String termGUID, Integer from, Integer size); List<GlossaryTerm> getTranslations(String userId, String termGUID, Integer from, Integer size); List<GlossaryTerm> getIsA(String userId, String termGUID, Integer from, Integer size); List<GlossaryTerm> getValidValues(String userId, String termGUID, Integer from, Integer size); List<GlossaryTerm> getUsedInContexts(String userId, String termGUID, Integer from, Integer size); List<GlossaryTerm> getAssignedElements(String userId, String termGUID, Integer from, Integer size); List<GlossaryTerm> getAttributes(String userId, String termGUID, Integer from, Integer size); List<GlossaryTerm> getSubtypes(String userId, String termGUID, Integer from, Integer size); List<GlossaryTerm> getTypes(String userId, String termGUID, Integer from, Integer size);  }### Answer:
@Test public void getTermHomeGlossary() throws Exception{ response.addEntityDetail(glossaries.get(1)); when(connector.callGetRESTCall(eq("getTermHomeGlossary"), eq(GlossaryViewEntityDetailResponse.class), anyString(), eq(SERVER_NAME), eq(USER_ID),eq(terms.get(3).getGuid()))).thenReturn(response); Glossary glossary = underTest.getTermHomeGlossary(USER_ID, terms.get(3).getGuid()); assertEquals(glossaries.get(1).getGuid(), glossary.getGuid()); }