static Entry<String, String> splitTrimmedConfigStringComponent(String input) {
        int i;
        for (i = 0; i < input.length(); i++) {
            if (input.charAt(i) == '=') {
                break;
            }
        }
        if (i == input.length()) {
            throw new FormatterException("No equals sign found in SCRAM component: " + input);
        }
        String value = input.substring(i + 1);
        if (value.length() >= 2) {
            if (value.startsWith("\"") && value.endsWith("\"")) {
                value = value.substring(1, value.length() - 1);
            }
        }
        return new AbstractMap.SimpleImmutableEntry<>(input.substring(0, i), value);
    }
@Test
    public void testSplitTrimmedConfigStringComponentOnNameEqualsQuotedEmpty() {
        assertEquals(new AbstractMap.SimpleImmutableEntry<>("name", ""),
            ScramParser.splitTrimmedConfigStringComponent("name=\"\""));
    }