@Test
public void testFooHasBarOrdered() {

	Foo foo = new Foo();
	Bar bar = new Bar();
	repository.query(foo, Where.has(foo.barP, bar, Where.any())).first(
			Order.ascending(foo.barP, bar.stringP));
}