BidiSubstituter.RIGHT, BidiSubstituter.LTR, BidiSubstituter.RTL);
}
private void assertSubstitutions(String direction,
String startEdge, String endEdge, String dir, String reverseDir) {
Substitutions substitutions = new Substitutions();
BidiSubstituter.addSubstitutions(substitutions, direction);
assertEquals(startEdge, substitutions.getSubstitution(
Substitutions.Type.BIDI, BidiSubstituter.START_EDGE));
assertEquals(endEdge, substitutions.getSubstitution(
Substitutions.Type.BIDI, BidiSubstituter.END_EDGE));
assertEquals(dir, substitutions.getSubstitution(
Substitutions.Type.BIDI, BidiSubstituter.DIR));
assertEquals(reverseDir, substitutions.getSubstitution(
Substitutions.Type.BIDI, BidiSubstituter.REVERSE_DIR));
}