    @Test
    public void getPredictions() throws Exception {

        MockApi api = new MockApi();

        List<String> predictions = api.generatePredictions(5, "a");

        assertEquals("abcde", predictions.get(0));
        assertEquals("a", predictions.get(predictions.size() - 1));
    }