Language: Java
Label: safe
CWE: NVD-CWE-noinfo \u2014 

Code:
    void greetingShouldReturnUsersMessage() throws Exception {
        assertThat(restTemplate.getForObject("http://localhost:" + httpPort +
                                             JETTY_BASE_PATH + "/greeting?name=Armeria",
                                             String.class))
                .contains("Hello, Armeria!");
    }