@Test
public void translate_translatesCorrectly() throws Exception {

    Index<?> index = mock(Index.class);
    when(index.getName()).thenReturn("The quick brown fox jumps over the lazy dog");
    assertEquals("2FD4E1C67A", translator.translate(index));
}