### Question:
GeneralTopologyObjectMapper { public GenericResourceApiGcrequestinputGcRequestInput buildGcRequestInformation(GenericVnf vnf, GenericResourceApiParam genericResourceApiParam) { GenericResourceApiGcrequestinputGcRequestInput gcRequestInput = new GenericResourceApiGcrequestinputGcRequestInput(); gcRequestInput.setVnfId(vnf.getVnfId()); if (genericResourceApiParam != null) { gcRequestInput.setInputParameters(genericResourceApiParam); } return gcRequestInput; }  GenericResourceApiRequestinformationRequestInformation buildGenericResourceApiRequestinformationRequestInformation(
            String msoReqId, GenericResourceApiRequestActionEnumeration requestAction); GenericResourceApiServiceinformationServiceInformation buildServiceInformation(
            ServiceInstance serviceInstance, RequestContext requestContext, Customer customer,
            boolean includeModelInformation); GenericResourceApiNetworkinformationNetworkInformation buildNetworkInformation(L3Network network); GenericResourceApiVnfinformationVnfInformation buildVnfInformation(GenericVnf vnf,
            ServiceInstance serviceInstance, boolean includeModelInformation); GenericResourceApiVfmoduleinformationVfModuleInformation buildVfModuleInformation(VfModule vfModule,
            GenericVnf vnf, ServiceInstance serviceInstance, RequestContext requestContext,
            boolean includeModelInformation); GenericResourceApiSdncrequestheaderSdncRequestHeader buildSdncRequestHeader(SDNCSvcAction svcAction,
            String sdncReqId); GenericResourceApiSdncrequestheaderSdncRequestHeader buildSdncRequestHeader(SDNCSvcAction svcAction,
            String sdncReqId, String callbackUrl); GenericResourceApiConfigurationinformationConfigurationInformation buildConfigurationInformation(
            Configuration configuration, boolean includeModelInformation); GenericResourceApiGcrequestinputGcRequestInput buildGcRequestInformation(GenericVnf vnf,
            GenericResourceApiParam genericResourceApiParam); String mapUserParamValue(Object value);  }### Answer:
@Test public void buildGcRequestInformationTest() { GenericVnf vnf = new GenericVnf(); vnf.setVnfId("TestVnfId"); GenericResourceApiGcrequestinputGcRequestInput gcRequestInput = genObjMapper.buildGcRequestInformation(vnf, null); assertNotNull(gcRequestInput); assertEquals(vnf.getVnfId(), gcRequestInput.getVnfId()); assertNull(gcRequestInput.getInputParameters()); }
@Test public void buildGcRequestInformationTest_withInputParams() { GenericVnf vnf = new GenericVnf(); vnf.setVnfId("TestVnfId"); GenericResourceApiParam genericResourceApiParam = new GenericResourceApiParam(); genericResourceApiParam.addParamItem(new GenericResourceApiParamParam()); GenericResourceApiGcrequestinputGcRequestInput gcRequestInput = genObjMapper.buildGcRequestInformation(vnf, genericResourceApiParam); assertNotNull(gcRequestInput); assertEquals(vnf.getVnfId(), gcRequestInput.getVnfId()); assertNotNull(gcRequestInput.getInputParameters()); }