@Test public void test_tl_number_generator_should_return_number() { final String tlNumber = tradeLicenseNumberGeneratorService.generate("ap.kurnool", new RequestInfo()); assertEquals("TL/00001/2017", tlNumber); }
public String generate(final String tenantId, final RequestInfo requestInfo) { return idGenService.generate(tenantId, propertiesManager.getIdTLNumberGenNameServiceTopic(), propertiesManager.getIdTLNumberGenFormatServiceTopic(), requestInfo); }
TradeLicenseNumberGeneratorServiceImpl implements TradeLicenseNumberGeneratorService { public String generate(final String tenantId, final RequestInfo requestInfo) { return idGenService.generate(tenantId, propertiesManager.getIdTLNumberGenNameServiceTopic(), propertiesManager.getIdTLNumberGenFormatServiceTopic(), requestInfo); } }
TradeLicenseNumberGeneratorServiceImpl implements TradeLicenseNumberGeneratorService { public String generate(final String tenantId, final RequestInfo requestInfo) { return idGenService.generate(tenantId, propertiesManager.getIdTLNumberGenNameServiceTopic(), propertiesManager.getIdTLNumberGenFormatServiceTopic(), requestInfo); }  }
TradeLicenseNumberGeneratorServiceImpl implements TradeLicenseNumberGeneratorService { public String generate(final String tenantId, final RequestInfo requestInfo) { return idGenService.generate(tenantId, propertiesManager.getIdTLNumberGenNameServiceTopic(), propertiesManager.getIdTLNumberGenFormatServiceTopic(), requestInfo); }  String generate(final String tenantId, final RequestInfo requestInfo); }
TradeLicenseNumberGeneratorServiceImpl implements TradeLicenseNumberGeneratorService { public String generate(final String tenantId, final RequestInfo requestInfo) { return idGenService.generate(tenantId, propertiesManager.getIdTLNumberGenNameServiceTopic(), propertiesManager.getIdTLNumberGenFormatServiceTopic(), requestInfo); }  String generate(final String tenantId, final RequestInfo requestInfo);  }