@Test public void test_tl_number_generator_should_return_number() { final String applicationNumber = applicationNumberGeneratorService.generate("ap.kurnool", new RequestInfo()); assertEquals("12345", applicationNumber); }
public String generate(final String tenantId, final RequestInfo requestInfo) { return idGenService.generate(tenantId, propertiesManager.getIdApplicationNumberGenNameServiceTopic(), propertiesManager.getIdApplicationNumberGenFormatServiceTopic(), requestInfo); }
ApplicationNumberGeneratorServiceImpl implements ApplicationNumberGeneratorService { public String generate(final String tenantId, final RequestInfo requestInfo) { return idGenService.generate(tenantId, propertiesManager.getIdApplicationNumberGenNameServiceTopic(), propertiesManager.getIdApplicationNumberGenFormatServiceTopic(), requestInfo); } }
ApplicationNumberGeneratorServiceImpl implements ApplicationNumberGeneratorService { public String generate(final String tenantId, final RequestInfo requestInfo) { return idGenService.generate(tenantId, propertiesManager.getIdApplicationNumberGenNameServiceTopic(), propertiesManager.getIdApplicationNumberGenFormatServiceTopic(), requestInfo); }  }
ApplicationNumberGeneratorServiceImpl implements ApplicationNumberGeneratorService { public String generate(final String tenantId, final RequestInfo requestInfo) { return idGenService.generate(tenantId, propertiesManager.getIdApplicationNumberGenNameServiceTopic(), propertiesManager.getIdApplicationNumberGenFormatServiceTopic(), requestInfo); }  String generate(final String tenantId, final RequestInfo requestInfo); }
ApplicationNumberGeneratorServiceImpl implements ApplicationNumberGeneratorService { public String generate(final String tenantId, final RequestInfo requestInfo) { return idGenService.generate(tenantId, propertiesManager.getIdApplicationNumberGenNameServiceTopic(), propertiesManager.getIdApplicationNumberGenFormatServiceTopic(), requestInfo); }  String generate(final String tenantId, final RequestInfo requestInfo);  }