@Test
public void shouldConstructNotInCriteriaQuery() {

	Condition condition = new Condition("key", Operator.not_in, Arrays.asList("value"));
	when(builder.parameter(Collection.class, "key")).thenReturn(expression);
	when(root.get("key")).thenReturn(path);
	Predicate predicate = mock(Predicate.class);
	when(path.in(expression)).thenReturn(predicate);
	condition.constructQuery(builder, root);
	verify(path).in(expression);
	verify(predicate).not();
}