FilePosition b2 = FilePosition.instance(b, 2, 20, 10);
FilePosition c1 = FilePosition.instance(c, 1, 10, 10);
FilePosition c2 = FilePosition.instance(c, 2, 20, 10);
FilePosition c12 = FilePosition.span(c1, c2);
Message ma12 = new Message(TestMessageType.MT, a12);
Message mc2 = new Message(TestMessageType.MT, c2);
Message mc12 = new Message(TestMessageType.MT, c12);
Message mb2 = new Message(TestMessageType.MT, b2);
Message ma = new Message(TestMessageType.MT, a);
Message mb = new Message(TestMessageType.MT, b);
Message mc1 = new Message(TestMessageType.MT, c1);
Message ma1 = new Message(TestMessageType.MT, a1);
Message ma2 = new Message(TestMessageType.MT, a2);
Message mhi = new Message(
TestMessageType.MT, MessagePart.Factory.valueOf("hi"));
Message mhithere = new Message(
TestMessageType.MT, MessagePart.Factory.valueOf("hi there"));
List<Message> messages = Arrays.asList(
ma12, mhithere, mc2, mc12, mb2, ma, mb, mc1, ma1, ma2, mhi);