public String getCode() {
return code;
}
};
} else if (o instanceof SwapMove) {
SwapMove swapMove = (SwapMove) o;
final String code = convertToCodeAssertable(swapMove.getLeftEntity()).getCode()
+ "<->" + convertToCodeAssertable(swapMove.getRightEntity()).getCode();
return new CodeAssertable() {
public String getCode() {
return code;
}
};