public static String transformFromHeaderName(String name) {
        StringHelper.notEmpty(name, "name");

        StringBuilder formattedName = new StringBuilder();

        String nameSubstring = name.substring(DockerConstants.DOCKER_PREFIX.length());

        if (nameSubstring.length() > 0) {
            formattedName.append(nameSubstring.substring(0, 1).toLowerCase());
            formattedName.append(nameSubstring, 1, nameSubstring.length());
        }

        return formattedName.toString();
    }
@Test
    void transformHeaderTestFromHeader() {
        String headerField = DockerHelper.transformFromHeaderName(DockerConstants.DOCKER_REGISTRY);
        assertEquals("registry", headerField);
    }