@Test
    public void testSort() {
        List<String> texts = new ArrayList<>();
        Collections.addAll(texts,
                "bcdefg",
                "acdefg",
                "hijklmn",
                "abcdefg",
                "abceefg");

        new BucketSorter().sort(texts);

        assertThat(texts.toString(), is("[abcdefg, abceefg, acdefg, bcdefg, hijklmn]"));
    }