@Test
public void shouldSetParametersForBetweenQuery() {

	Condition condition = new Condition("key", Operator.between, new Object[]{"value1", "value2"});
	condition.setPath(path);
	condition.setParameters(query, new String[]{"value1", "value2"});
	verify(query).setParameter("fromkey", "value1");
	verify(query).setParameter("tokey", "value2");
}