### Question:
HiveServiceModelGenerator extends AbstractServiceModelGenerator { @Override public ServiceModelGeneratorHandleResponse handles(ApiService service, ApiServiceConfig serviceConfig, ApiRole role, ApiConfigList roleConfig) { final ServiceModelGeneratorHandleResponse response = super.handles(service, serviceConfig, role, roleConfig); if (response.handled()) { checkHiveServer2HTTPMode(roleConfig, response); } return response; }  @Override String getService(); @Override String getServiceType(); @Override String getRoleType(); @Override ServiceModel.Type getModelType(); @Override ServiceModelGeneratorHandleResponse handles(ApiService service, ApiServiceConfig serviceConfig, ApiRole role, ApiConfigList roleConfig); @Override ServiceModel generateService(ApiService       service,
                                      ApiServiceConfig serviceConfig,
                                      ApiRole          role,
                                      ApiConfigList    roleConfig); static final String SERVICE; static final String SERVICE_TYPE; static final String ROLE_TYPE; }### Answer:
@Test @Override public void testHandles() { Map<String, String> roleConfig = new HashMap<>(); roleConfig.put(HiveServiceModelGenerator.SAFETY_VALVE, getSafetyValveConfig(HiveServiceModelGenerator.TRANSPORT_MODE_HTTP)); assertTrue(doTestHandles(newGenerator(), getServiceType(), Collections.emptyMap(), getRoleType(), roleConfig)); }