### Question:
RangerServiceHBase 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("==> RangerServiceHBase.lookupResource() Service : " + serviceName + " Context: (" + context + ")"); } if (context != null) { try { ret = HBaseResourceMgr.getHBaseResource(serviceName,serviceType,configs,context); } catch (Exception e) { LOG.error( "<==RangerServiceHBase.lookupResource() Error : " + e); throw e; } } if(LOG.isDebugEnabled()) { LOG.debug("<== RangerServiceHBase.lookupResource() Response: (" + ret + ")"); } return ret; } RangerServiceHBase(); @Override void init(RangerServiceDef serviceDef, RangerService service); @Override HashMap<String,Object> validateConfig(); @Override List<String> lookupResource(ResourceLookupContext context);  }### Answer:
@Test public void testLookUpResource() { }