}
@Test
public void testQuerySingle() {
Product product1 = create("code1", "aaa");
Product product2 = create("code2", "bbb");
Product product3 = create("code3", "ccc");
persiter.put(product1, product2, product3);
Query<Product> query = persiter.query(Product.class);
Product actual = query.filter("name", product2.getName()).get();
assertEqualsProduct(product2, actual);
}