Like like = new Like("test", "%foo");
Item item = new PropertysetItem();
item.addItemProperty("test", new ObjectProperty<String>("foobar"));
Assert.assertFalse(like.passesFilter("id", item));
}
@Test
public void passesFilter_startsWithAndEndsWithOnMatchingValue_shouldSucceed() {
Like like = new Like("test", "foo%bar");