### Question:
HandlerManagementService extends RegistryAbstractAdmin implements
        IHandlerManagementService<SimulationResponse, SimulationRequest> { public void setHandlerCollectionLocation(String location) throws Exception { CommonUtil.setContextRoot(location); }  String getHandlerCollectionLocation(); void setHandlerCollectionLocation(String location); String[] getHandlerList(); String getHandlerConfiguration(String name); boolean deleteHandler(String name); boolean createHandler(String payload); boolean updateHandler(String oldName, String payload); SimulationResponse simulate(SimulationRequest request);  }### Answer:
@Test public void setHandlerCollectionLocation() throws Exception { String handlerContextRoot = "/repository/components/org.wso2.carbon.governance/handlers1/"; HandlerManagementService managementService = new HandlerManagementService(); managementService.setHandlerCollectionLocation(handlerContextRoot); assertEquals(handlerContextRoot, managementService.getHandlerCollectionLocation()); CommonUtil.setContextRoot(RegistryConstants.HANDLER_CONFIGURATION_PATH); }