@Test
public void testUnescapeBraceFormat() {

  assertThat(unescapeBraceFormat("")).isEqualTo("");
  assertThat(unescapeBraceFormat("Hello World")).isEqualTo("Hello World");
  assertThat(unescapeBraceFormat("Hello '{}' World")).isEqualTo("Hello {} World");
  assertThat(unescapeBraceFormat("Hello \'{}\' World")).isEqualTo("Hello {} World");
  assertThat(unescapeBraceFormat("Hello \'{}' World")).isEqualTo("Hello {} World");
  assertThat(unescapeBraceFormat("Hello '' World")).isEqualTo("Hello ' World");
  assertThat(unescapeBraceFormat("Hello \'\' World")).isEqualTo("Hello ' World");
  assertThat(unescapeBraceFormat("Hello '\' World")).isEqualTo("Hello ' World");
  assertThat(unescapeBraceFormat("He'llo'' ''Wor'ld")).isEqualTo("Hello World");
  assertThat(unescapeBraceFormat("He'llo'\' \''Wor\'ld")).isEqualTo("Hello World");
}