### Question:
MutableString { public boolean endsWith(String s) { return m_string.endsWith(s); } MutableString();  MutableString(String s);  MutableString(MutableString s); void clear(); int indexOf(String s); int indexOf(String s, int fromIndex); void trim(); int length(); MutableString[] split(String regex); MutableString truncateSubstring(int begin, int end); MutableString truncateSubstring(int begin); MutableString substring(int start, int end); MutableString substring(int start); boolean startsWith(String s); boolean startsWithIgnoreCase(String s); boolean endsWith(String s); boolean endsWithIgnoreCase(String s); boolean is(String s); @Override boolean equals(Object o); @Override int hashCode(); boolean isEmpty(); void replaceAll(String regex, String replacement); @Override String toString();  }### Answer:
@Test public void testEndsWith() { MutableString ms1 = new MutableString("abcdefghi"); assertTrue(ms1.endsWith("hi")); }