@Test
public void shouldHandleBackslashes() throws Exception {

    List<String> keyValuePairs = ObjectNames
            .getPropertyValues(ObjectName.getInstance("Glowroot:a=x,b=y\\y,c=\"z\\nz\\\"\""));
    assertThat(keyValuePairs).containsExactly("x", "y\\y", "z\nz\"");
}