### Question:
RangerServiceHdfs extends RangerBaseService { @Override public HashMap<String,Object> validateConfig() throws Exception { HashMap<String, Object> ret = new HashMap<String, Object>(); String serviceName = getServiceName(); if(LOG.isDebugEnabled()) { LOG.debug("<== RangerServiceHdfs.validateConfig Service: (" + serviceName + " )"); } if ( configs != null) { try { ret = HdfsResourceMgr.testConnection(serviceName, configs); } catch (Exception e) { LOG.error("<== RangerServiceHdfs.validateConfig Error:" + e); throw e; } } if(LOG.isDebugEnabled()) { LOG.debug("<== RangerServiceHdfs.validateConfig Response : (" + ret + " )"); } return ret; } RangerServiceHdfs(); @Override void init(RangerServiceDef serviceDef, RangerService service); @Override HashMap<String,Object> validateConfig(); @Override List<String> lookupResource(ResourceLookupContext context);  }### Answer:
@Test public void testValidateConfig() { }