SelectorTestUtils.mockMethodGetTrailingEntity(scoreDirector, variableDescriptor,
new TestdataChainedEntity[]{a1, a2, a3, a4, a5, b1, b2, b3});
SubChainReversingSwapMove move = new SubChainReversingSwapMove(variableDescriptor,
new SubChain(Arrays.<Object>asList(a2, a3, a4)),
new SubChain(Arrays.<Object>asList(b1, b2)));
Move undoMove = move.createUndoMove(scoreDirector);
move.doMove(scoreDirector);
SelectorTestUtils.assertChain(a0, a1, b2, b1, a5);
SelectorTestUtils.assertChain(b0, a4, a3, a2, b3);