    @Test
    public void testCreateEndpointOptionsFromPropertiesConcatenation() {

        Map<String, String> props = new HashMap<String, String>() {
            {
                put("prefix.key1", "value1");
                put("prefix.key2", "value2");
            }
        };

        String result = TaskHelper.createEndpointOptionsFromProperties(props, "prefix.");

        assertEquals("?key1=value1&key2=value2", result);
    }