@Test public void test_should_validate_tenantid_and_servicecode(){ ServiceTypeConfiguration configuration = getServiceTypeConfiguration(); serviceTypeConfigurationService.create(configuration); }
public void create(ServiceTypeConfiguration serviceTypeConfiguration) { final ObjectMapper mapper = new ObjectMapper(); mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); validate(serviceTypeConfiguration); codeValidate(serviceTypeConfiguration); serviceTypeConfigurationMessageQueueRepository.save(serviceTypeConfiguration.toDto()); }
ServiceTypeConfigurationService { public void create(ServiceTypeConfiguration serviceTypeConfiguration) { final ObjectMapper mapper = new ObjectMapper(); mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); validate(serviceTypeConfiguration); codeValidate(serviceTypeConfiguration); serviceTypeConfigurationMessageQueueRepository.save(serviceTypeConfiguration.toDto()); } }
ServiceTypeConfigurationService { public void create(ServiceTypeConfiguration serviceTypeConfiguration) { final ObjectMapper mapper = new ObjectMapper(); mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); validate(serviceTypeConfiguration); codeValidate(serviceTypeConfiguration); serviceTypeConfigurationMessageQueueRepository.save(serviceTypeConfiguration.toDto()); } ServiceTypeConfigurationService(List<ServiceTypeConfigurationValidator> validators,
			ServiceTypeConfigurationMessageQueueRepository serviceTypeConfigurationMessageQueueRepository,
			ServiceTypeConfigurationRepository serviceTypeConfigurationRepository); }
ServiceTypeConfigurationService { public void create(ServiceTypeConfiguration serviceTypeConfiguration) { final ObjectMapper mapper = new ObjectMapper(); mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); validate(serviceTypeConfiguration); codeValidate(serviceTypeConfiguration); serviceTypeConfigurationMessageQueueRepository.save(serviceTypeConfiguration.toDto()); } ServiceTypeConfigurationService(List<ServiceTypeConfigurationValidator> validators,
			ServiceTypeConfigurationMessageQueueRepository serviceTypeConfigurationMessageQueueRepository,
			ServiceTypeConfigurationRepository serviceTypeConfigurationRepository); void create(ServiceTypeConfiguration serviceTypeConfiguration); void update(ServiceTypeConfiguration serviceTypeConfiguration); List<ServiceTypeConfiguration> search(ServiceTypeConfigurationSearchCriteria serviceTypeSearchCriteria); }
ServiceTypeConfigurationService { public void create(ServiceTypeConfiguration serviceTypeConfiguration) { final ObjectMapper mapper = new ObjectMapper(); mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); validate(serviceTypeConfiguration); codeValidate(serviceTypeConfiguration); serviceTypeConfigurationMessageQueueRepository.save(serviceTypeConfiguration.toDto()); } ServiceTypeConfigurationService(List<ServiceTypeConfigurationValidator> validators,
			ServiceTypeConfigurationMessageQueueRepository serviceTypeConfigurationMessageQueueRepository,
			ServiceTypeConfigurationRepository serviceTypeConfigurationRepository); void create(ServiceTypeConfiguration serviceTypeConfiguration); void update(ServiceTypeConfiguration serviceTypeConfiguration); List<ServiceTypeConfiguration> search(ServiceTypeConfigurationSearchCriteria serviceTypeSearchCriteria);  }