/** */
@Test
public void testIN() throws Exception
{
Trivial triv1 = new Trivial("foo", 3);
Trivial triv2 = new Trivial("bar", 3);
ofy().save().entity(triv1).now();
ofy().save().entity(triv2).now();
List<String> conditions = Arrays.asList(new String[] {"foo", "bar", "baz"});
List<Trivial> result = ofy().load().type(Trivial.class).filter("someString in", conditions).list();
assert result.size() == 2;
long id1 = result.get(0).getId();
long id2 = result.get(1).getId();
assert id1 == triv1.getId() || id1 == triv2.getId();
assert id2 == triv1.getId() || id2 == triv2.getId();
}