### Question:
MicroBlog { public String truncate(String input) { throw new UnsupportedOperationException("Delete this statement and write your own implementation."); }  String truncate(String input);  }### Answer:
@Test public void englishLanguageShort() { String expected = "Hi"; assertEquals(expected, microBlog.truncate("Hi")); }
@Ignore("Remove to run test") @Test public void englishLanguageLong() { String expected = "Hello"; assertEquals(expected, microBlog.truncate("Hello there")); }
@Ignore("Remove to run test") @Test public void germanLanguageShort_broth() { String expected = "brühe"; assertEquals(expected, microBlog.truncate("brühe")); }
@Ignore("Remove to run test") @Test public void germanLanguageLong_bearCarpet_to_beards() { String expected = "Bärte"; assertEquals(expected, microBlog.truncate("Bärteppich")); }
@Ignore("Remove to run test") @Test public void bulgarianLanguageShort_good() { String expected = "Добър"; assertEquals(expected, microBlog.truncate("Добър")); }
@Ignore("Remove to run test") @Test public void greekLanguageShort_health() { String expected = "υγειά"; assertEquals(expected, microBlog.truncate("υγειά")); }
@Ignore("Remove to run test") @Test public void mathsShort() { String expected = "a=πr²"; assertEquals(expected, microBlog.truncate("a=πr²")); }
@Ignore("Remove to run test") @Test public void mathsLong() { String expected = "∅⊊ℕ⊊ℤ"; assertEquals(expected, microBlog.truncate("∅⊊ℕ⊊ℤ⊊ℚ⊊ℝ⊊ℂ")); }
@Ignore("Remove to run test") @Test public void englishAndEmojiShort() { String expected = "Fly 🛫"; assertEquals(expected, microBlog.truncate("Fly 🛫")); }
@Ignore("Remove to run test") @Test public void emojiShort() { String expected = "💇"; assertEquals(expected, microBlog.truncate("💇")); }
@Ignore("Remove to run test") @Test public void emojiLong() { String expected = "❄🌡🤧🤒🏥"; assertEquals(expected, microBlog.truncate("❄🌡🤧🤒🏥🕰😀")); }
@Ignore("Remove to run test") @Test public void royalFlush() { String expected = "🃎🂸🃅🃋🃍"; assertEquals(expected, microBlog.truncate("🃎🂸🃅🃋🃍🃁🃊")); }