    @Test
    public void testPasswordIsReadableFromJsonSettings() throws IOException {

        String json = "{\n" +
                "  \"name\" : \"test_password_is_readable\",\n" +
                "  \"fs\" : {\n" +
                "    \"url\" : \"/path/to/docs\"\n" +
                "  },\n" +
                "  \"server\" : {\n" +
                "    \"username\" : \"dadoonet\",\n" +
                "    \"password\" : \"" + SERVER_FULL.getPassword() + "\"\n" +
                "  },\n" +
                "  \"elasticsearch\" : {\n" +
                "    \"username\" : \"username\",\n" +
                "    \"password\" : \"" + ELASTICSEARCH_FULL.getPassword() + "\"\n" +
                "  }\n" +
                "}";

        logger.info("-> testing settings: [{}]", json);
        checkPasswordSettings(FsSettingsParser.fromJson(json));
    }