@Test
public void test() throws Exception {

	Foo foo = new Foo();
	repository.index(foo, true, Order.ascending(foo.intP),
			Order.ascending(foo.longP));
	repository.index(foo, false, Order.descending(foo.intP),
			Order.descending(foo.longP));
}