@Test(expected = IndexOutOfBoundsException.class)
public void testCharAtOutOfBounds() {

  final MutableCharArray seq = new MutableCharArray("Dawid Weiss".toCharArray(), 1, 3);
  assertEquals('-', seq.charAt(3));
}