### Question:
RangerServiceHdfs extends RangerBaseService { @Override public List<String> lookupResource(ResourceLookupContext context) throws Exception { List<String> ret = new ArrayList<String>(); String serviceName = getServiceName(); String serviceType = getServiceType(); Map<String,String> configs = getConfigs(); if(LOG.isDebugEnabled()) { LOG.debug("<== RangerServiceHdfs.lookupResource Context: (" + context + ")"); } if (context != null) { try { ret = HdfsResourceMgr.getHdfsResources(serviceName, serviceType, configs,context); } catch (Exception e) { LOG.error( "<==RangerServiceHdfs.lookupResource Error : " + e); throw e; } } if(LOG.isDebugEnabled()) { LOG.debug("<== RangerServiceHdfs.lookupResource 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 testLookUpResource() { }