assertThat(a.mappings().length, is(2));
assertThat(a.mappings(), hasItemInArray(mapping("sid", "sid")));
assertThat(a.mappings(), hasItemInArray(mapping("value", "aValue")));
assertThat(a.shuffle(), is(grouping("sid")));
Joined.Term b = annotation.terms()[1];
assertThat(b.source(), eq(loader.modelType("B")));
assertThat(b.mappings().length, is(2));
assertThat(b.mappings(), hasItemInArray(mapping("sid", "sid")));
assertThat(b.mappings(), hasItemInArray(mapping("value", "bValue")));
assertThat(b.shuffle(), is(grouping("sid")));