### Question:
VrfValidation { protected void vrfCatalogDbChecks(org.onap.so.db.catalog.beans.Service service) throws VrfBondingServiceException { ConfigurationResourceCustomization configuration = getVrfConfiguration(service); if (configuration == null || configuration.getServiceProxyResourceCustomization() == null || configuration.getServiceProxyResourceCustomization().getSourceService() == null || !configuration.getServiceProxyResourceCustomization().getSourceService().getServiceType() .equalsIgnoreCase("TRANSPORT")) { throw new VrfBondingServiceException("Service: " + service.getModelName() + " does not have a configuration of type VRF-ENTRY and role INFRASTRUCTURE-CLOUD-VPN" + ", and serviceProxy that does not have source service that has a serviceType of TRANSPORT)"); } }  void setBbInputSetupUtils(BBInputSetupUtils bbInputSetupUtils);  }### Answer:
@Test public void testVrfCatalogDbChecks() throws VrfBondingServiceException { Service service = new Service(); service.setModelName("modelName"); ConfigurationResourceCustomization configuration = new ConfigurationResourceCustomization(); service.setConfigurationCustomizations(new ArrayList<>()); service.getConfigurationCustomizations().add(configuration); ServiceProxyResourceCustomization serviceProxy = new ServiceProxyResourceCustomization(); configuration.setServiceProxyResourceCustomization(serviceProxy); service.setServiceProxyCustomizations(new ArrayList<>()); service.getServiceProxyCustomizations().add(serviceProxy); Service sourceService = new Service(); sourceService.setServiceType("TRANSPORT"); serviceProxy.setSourceService(sourceService); configuration.setType("VRF-ENTRY"); configuration.setRole("INFRASTRUCTURE-CLOUD-VPN"); ExpectedException.none(); vrfValidation.vrfCatalogDbChecks(service); }