@Test
public void testShouldPreserverStringComporision() throws IOException {

    InputStream stream = this.getClass().getResourceAsStream("/org/apache/lucene/morphology/russian/decoder-test-monotonic.txt");
    BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(stream, "UTF-8"));
    String s = bufferedReader.readLine();
    while (s != null) {
        String[] qa = s.trim().split(" ");
        if (qa[0].length() <= RussianLetterDecoderEncoder.WORD_PART_LENGHT && qa[1].length() <= RussianLetterDecoderEncoder.WORD_PART_LENGHT) {
            assertThat(decoderEncoder.encode(qa[1]) > decoderEncoder.encode(qa[0]), equalTo(true));
        }
        s = bufferedReader.readLine();
    }
}