### Question:
NssmfManagerServiceImpl implements NssmfManagerService { @Override public ResponseEntity querySubnetCapability(NssmfAdapterNBIRequest nbiRequest) { EsrInfo esrInfo = nbiRequest.getEsrInfo(); try { return buildResponse(buildNssmfManager(esrInfo, ActionType.QUERY_SUB_NET_CAPABILITY, null) .querySubnetCapability(nbiRequest)); } catch (ApplicationException e) { return e.buildErrorResponse(); } }  @Override ResponseEntity allocateNssi(NssmfAdapterNBIRequest request); @Override ResponseEntity deAllocateNssi(NssmfAdapterNBIRequest request, String sliceProfileId); @Override ResponseEntity activateNssi(NssmfAdapterNBIRequest request, String snssai); @Override ResponseEntity deActivateNssi(NssmfAdapterNBIRequest request, String snssai); @Override ResponseEntity queryJobStatus(NssmfAdapterNBIRequest jobReq, String jobId); @Override ResponseEntity queryNSSISelectionCapability(NssmfAdapterNBIRequest nbiRequest); @Override ResponseEntity querySubnetCapability(NssmfAdapterNBIRequest nbiRequest);  }### Answer:
@Test public void querySubnetCapability() { NssmfAdapterNBIRequest nbiRequest = createNbiRequest(); String subnetCapabilityQuery = "\"subnetTypes\": [\"TN-FH\",\"TN-MH\",\"TN-BH\"]"; nbiRequest.setSubnetCapabilityQuery(subnetCapabilityQuery); ResponseEntity res = nssiManagerService.queryNSSISelectionCapability(nbiRequest); assertNotNull(res); assertNotNull(res.getBody()); }