@Test
public void testReplaceUnicodeEntities() {

  assertEquals("Markus&Pia", NormalizeUtils.replaceUnicodeEntities("Markus&Pia"));
  assertEquals("Markus&Pia;", NormalizeUtils.replaceUnicodeEntities("Markus&Pia;"));
  assertEquals("Markus & Pia ; ", NormalizeUtils.replaceUnicodeEntities("Markus & Pia ; "));
  assertEquals("&#pia;", NormalizeUtils.replaceUnicodeEntities("&#pia;"));
  assertEquals("&#12pia;", NormalizeUtils.replaceUnicodeEntities("&#12pia;"));
  assertTrue(NormalizeUtils.replaceUnicodeEntities(null) == null);
  assertEquals("лобан", NormalizeUtils.replaceUnicodeEntities("&#1083;&#1086;&#1073;&#1072;&#1085;"));
  assertEquals("лобан", NormalizeUtils.replaceUnicodeEntities("&#x43b;&#x43e;&#x431;&#x430;&#x43d;"));
  assertEquals("лобан", NormalizeUtils.replaceUnicodeEntities("&#x43B;&#x043e;&#x0431;&#x430;&#x43D;"));
  //    assertEquals("лобан", NormalizeUtils.replaceUnicodeEntities("\\u043b\\u0u43e\\u0431\\u0430\\u043d"));
  //    assertEquals("лобан", NormalizeUtils.replaceUnicodeEntities("\\u043B\\u0u43E\\u0431\\u0430\\u043D"));
  //    assertEquals("\\u43Bобан", NormalizeUtils.replaceUnicodeEntities("\\u43B\\0u43E\\u0431\\u0430\\u043D"));
  assertEquals("\\u43b\\u43e\\u431\\u430\\u43d",
    NormalizeUtils.replaceUnicodeEntities("\\u43b\\u43e\\u431\\u430\\u43d"));
}