@Test
@SuppressWarnings("deprecation")
public void testDeprecatedMapToQueryIsEmpty() {

    Map<String, Object> map = new LinkedHashMap<String, Object>();
    assertThat(Functions.mapToQuery(map, null), is(""));
}