@Test
public void translate_returnsCorrectString() throws Exception {

    IndexField<?> field = mock(IndexField.class);
    when(field.getName()).thenReturn("someProperty");
    assertEquals("SOMEPROPERTY", new SQLIndexFieldNameTranslator().translate(field));
}