### Question:
ToscaResourceInstaller { protected ConfigurationResourceCustomization getConfigurationResourceCustomization(IEntityDetails configEntity, ToscaResourceStructure toscaResourceStructure, ServiceProxyResourceCustomization spResourceCustomization, Service service) { Metadata metadata = configEntity.getMetadata(); ConfigurationResource configResource = getConfigurationResource(configEntity); ConfigurationResourceCustomization configCustomizationResource = new ConfigurationResourceCustomization(); Set<ConfigurationResourceCustomization> configResourceCustomizationSet = new HashSet<>(); configCustomizationResource .setModelCustomizationUUID(metadata.getValue(SdcPropertyNames.PROPERTY_NAME_CUSTOMIZATIONUUID)); configCustomizationResource.setModelInstanceName(configEntity.getName()); configCustomizationResource.setFunction(getLeafPropertyValue(configEntity, "function")); configCustomizationResource.setRole(getLeafPropertyValue(configEntity, "role")); configCustomizationResource.setType(getLeafPropertyValue(configEntity, "type")); configCustomizationResource.setServiceProxyResourceCustomization(spResourceCustomization); configCustomizationResource.setConfigurationResource(configResource); configCustomizationResource.setService(service); configResourceCustomizationSet.add(configCustomizationResource); configResource.setConfigurationResourceCustomization(configResourceCustomizationSet); return configCustomizationResource; }  boolean isCsarAlreadyDeployed(ToscaResourceStructure toscaResourceStructure); boolean isResourceAlreadyDeployed(ResourceStructure vfResourceStruct, boolean serviceDeployed); void installTheComponentStatus(IStatusData iStatus); @Transactional(rollbackFor = {ArtifactInstallerException.class}) void installTheResource(ToscaResourceStructure toscaResourceStruct, ResourceStructure resourceStruct); @Transactional(rollbackFor = {ArtifactInstallerException.class}) void installTheVfResource(ToscaResourceStructure toscaResourceStruct, VfResourceStructure vfResourceStruct); void processWatchdog(String distributionId, String servideUUID, Optional<String> distributionNotification,
            String consumerId); String verifyTheFilePrefixInArtifacts(String filebody, VfResourceStructure vfResourceStructure,
            List<String> listTypes); String verifyTheFilePrefixInString(final String body, final String filenameToVerify); String getVnfcResourceInput(IEntityDetails vfcEntity, List<Input> inputList); List<IEntityDetails> getEntityDetails(ToscaResourceStructure toscaResourceStruct,
            EntityQueryBuilder entityType, TopologyTemplateQueryBuilder topologyTemplateBuilder, boolean nestedSearch); String getLeafPropertyValue(IEntityDetails entityDetails, String propName); @Transactional(rollbackFor = {ArtifactInstallerException.class}) void installNsstService(ToscaResourceStructure toscaResourceStruct, VfResourceStructure vfResourceStruct,
            String artifactContent);  }### Answer:
@Test public void getConfigurationResourceCustomizationTest() { prepareConfigurationResourceCustomization(); ConfigurationResourceCustomization configurationResourceCustomization = toscaInstaller.getConfigurationResourceCustomization(entityDetails, toscaResourceStructure, spResourceCustomization, service); assertNotNull(configurationResourceCustomization); assertNotNull(configurationResourceCustomization.getConfigurationResource()); assertEquals(MockConstants.MODEL_CUSTOMIZATIONUUID, configurationResourceCustomization.getServiceProxyResourceCustomization().getModelCustomizationUUID()); }