### Question:
StringUtils { public static boolean startsWithIgnoreCase(String str, String prefix) { return str.regionMatches(true, 0, prefix, 0, prefix.length()); } private  StringUtils(); static boolean startsWithIgnoreCase(String str, String prefix); static boolean endsWithIgnoreCase(String str, String suffix);  }### Answer:
@Test public void testStartsWithIgnoreCase() throws Exception { assertTrue(StringUtils.startsWithIgnoreCase("This Is A Sample Text", "this is a sample")); assertTrue(StringUtils.startsWithIgnoreCase("THIS IS A SAMPLE TEXT", "This Is A Sample")); assertTrue(StringUtils.startsWithIgnoreCase("this is a sample text", "THIS IS A SAMPLE")); }