Assert.assertTrue(like.passesFilter("id", item));
}
@Test
public void passesFilter_containsLikeQueryOnStringContainingValueCaseInsensitive_shouldSucceed() {
Like like = new Like("test", "%foo%");
like.setCaseSensitive(false);
Item item = new PropertysetItem();
item.addItemProperty("test", new ObjectProperty<String>("asdfOOghij"));
Assert.assertTrue(like.passesFilter("id", item));
}