Segments segments1 = new Segments(new Segment[] {new Segment(0, 0)});
Segments segments2 = new Segments(new Segment[] {new Segment(0, 1)});
Glyph glyph = new Glyph(GlyphType.O, GlyphType.O.getSegments(0));
Mock listener1 = mock(GlyphListener.class);
Mock listener2 = mock(GlyphListener.class);
expectGlyphMovement(listener1, GlyphType.O.getSegments(0), GlyphType.O.getSegments(0));
expectGlyphMovement(listener2, GlyphType.O.getSegments(0), GlyphType.O.getSegments(0));
expectGlyphMovement(listener1, GlyphType.O.getSegments(0), segments1);
expectGlyphMovement(listener2, GlyphType.O.getSegments(0), segments1);