@Test
public void shouldSetParameters() {
Filter filter = new Filter();
filter.addCondition("testKey", Operator.eq, "testValue");
filter.addCondition("testKey1", Operator.eq, "testValue1");
Path path = mock(Path.class);
when(path.getJavaType()).thenReturn(String.class);
filter.getConditions().get(0).setPath(path);
filter.getConditions().get(1).setPath(path);
Query query = mock(Query.class);
Parameter param = mock(Parameter.class);
when(param.getParameterType()).thenReturn(String.class);