@Test(expectedExceptions=IllegalArgumentException.class, expectedExceptionsMessageRegExp="Value -.*should be an array of size 2")
public void shouldThrowExceptionOnSetParametersForBetweenQueryWithInvalidLength() {

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