@Test
public void shouldNotSetParametersIfConditionsIsEmpty() {

	Filter filter = new Filter();
	Path path = mock(Path.class);
	when(path.getJavaType()).thenReturn(String.class);
	Query query = mock(Query.class);
	filter.setParameters(query);
	verify(query, never()).setParameter(anyString(), anyString());
}