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

Code:
    void additionalPath() throws Exception {
        String path = "/internal/actuator/health/foo";
        assertUpStatus(managementClient.get(path).aggregate().join());
        assertThat(armeriaClient.get(path).aggregate().join().status()).isSameAs(HttpStatus.NOT_FOUND);

        path = "/internal/actuator/health/bar";
        assertUpStatus(managementClient.get(path).aggregate().join());
        assertThat(armeriaClient.get(path).aggregate().join().status()).isSameAs(HttpStatus.NOT_FOUND);

        path = "/foohealth";
        assertUpStatus(managementClient.get(path).aggregate().join());
        assertThat(armeriaClient.get(path).aggregate().join().status()).isSameAs(HttpStatus.NOT_FOUND);

        // barhealth is bound to Armeria port.
        path = "/barhealth";
        assertThat(managementClient.get(path).aggregate().join().status()).isSameAs(HttpStatus.NOT_FOUND);
        assertUpStatus(armeriaClient.get(path).aggregate().join());
    }