LivingGlyph firstGlyph = new LivingGlyph(GlyphType.T, new StubCollisionDetector(13), 3);
LivingGlyph secondGlyph = new LivingGlyph(GlyphType.S, CollisionDetector.NULL, 3);
Junk junk = new Junk(7, 13);
glyphFactoryMock.expects("nextGlyph").inOrder()
.with(new Matcher[] {isA(CollisionDetector.class), isA(ListenerSet.class)})
.will(returnValue(firstGlyph), returnValue(secondGlyph));
glyphFactoryMock.expects("createJunk").with(isA(ListenerSet.class)).will(returnValue(junk));
Segments segmentsForTShapeOnFloor = droppedToFloor(GlyphType.T.getSegments(0).movedRight(3), 13);