test_class.declarator: localService
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private LocalesService localService;
test_class.type: LocalesService
test_class.var_name: localService
test_class.file: pes-service/src/test/java/fr/sictiam/stela/pesservice/service/LocalesServiceTest.java
test_class.identifier: LocalesServiceTest
test_case.body: @Test
      public void testGetSimpleMessage() {
          String message = localService.getMessage("fr", "pes", "$.pes.status.CREATED");
          assertThat(message, is("Déposé"));
      }
test_case.class_method_signature: LocalesServiceTest.testGetSimpleMessage()
test_case.full_signature: @Test public void testGetSimpleMessage()
test_case.identifier: testGetSimpleMessage
test_case.invocations: getMessage assertThat is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetSimpleMessage()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(LocalesService.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(LocalesService.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: jsons = new HashMap<>()
focal_class.modifier: private
focal_class.original_string: private Map<String, String> jsons = new HashMap<>();
focal_class.type: Map<String, String>
focal_class.var_name: jsons
focal_class.file: pes-service/src/main/java/fr/sictiam/stela/pesservice/service/LocalesService.java
focal_class.identifier: LocalesService
focal_class.class_method_signature: LocalesService.getJsonTranslation(String lng, String ns)
focal_class.full_signature: public String getJsonTranslation(String lng, String ns)
focal_class.identifier: getJsonTranslation
focal_class.modifiers: public
focal_class.parameters: (String lng, String ns)
focal_class.return: String
focal_class.signature: String getJsonTranslation(String lng, String ns)
focal_class.class_method_signature: LocalesService.getMessage(String lng, String ns, String path)
focal_class.full_signature: public String getMessage(String lng, String ns, String path)
focal_class.identifier: getMessage
focal_class.modifiers: public
focal_class.parameters: (String lng, String ns, String path)
focal_class.return: String
focal_class.signature: String getMessage(String lng, String ns, String path)
focal_class.class_method_signature: LocalesService.getMessage(String lng, String ns, String path, Map<String, String> variables)
focal_class.full_signature: public String getMessage(String lng, String ns, String path, Map<String, String> variables)
focal_class.identifier: getMessage
focal_class.modifiers: public
focal_class.parameters: (String lng, String ns, String path, Map<String, String> variables)
focal_class.return: String
focal_class.signature: String getMessage(String lng, String ns, String path, Map<String, String> variables)
focal_method.body: public String getMessage(String lng, String ns, String path) {
          String key = lng + "_" + ns;
          String json = jsons.containsKey(key) ? jsons.get(key) : getJsonTranslation(lng, ns);
          return JsonPath.read(json, path);
      }
focal_method.class_method_signature: LocalesService.getMessage(String lng, String ns, String path)
focal_method.full_signature: public String getMessage(String lng, String ns, String path)
focal_method.identifier: getMessage
focal_method.invocations: containsKey get getJsonTranslation read
focal_method.modifiers: public
focal_method.parameters: (String lng, String ns, String path)
focal_method.return: String
focal_method.signature: String getMessage(String lng, String ns, String path)