### Question:
HiveOnTezServiceModelGenerator extends HiveServiceModelGenerator { @Override public String getServiceType() { return SERVICE_TYPE; }  @Override String getServiceType(); @Override ServiceModel generateService(ApiService       service,
                                      ApiServiceConfig serviceConfig,
                                      ApiRole          role,
                                      ApiConfigList    roleConfig); static final String SERVICE_TYPE; }### Answer:
@Test @Override public void testHandles() { Map<String, String> roleConfig = new HashMap<>(); roleConfig.put(HiveOnTezServiceModelGenerator.HIVEONTEZ_TRANSPORT_MODE, HiveOnTezServiceModelGenerator.TRANSPORT_MODE_HTTP); assertTrue(doTestHandles(newGenerator(), getServiceType(), Collections.emptyMap(), getRoleType(), roleConfig)); }
@Test public void testHandlesWhenTransportModeIsBinary() { Map<String, String> roleConfig = new HashMap<>(); roleConfig.put(HiveOnTezServiceModelGenerator.HIVEONTEZ_TRANSPORT_MODE, "binary"); assertFalse(doTestHandles(newGenerator(), getServiceType(), Collections.emptyMap(), getRoleType(), roleConfig)); }