assertThat(a.mappings().length, is(2));
assertThat(a.mappings(), hasItemInArray(mapping("rightId", "id")));
assertThat(a.mappings(), hasItemInArray(mapping("value", "left")));
assertThat(a.shuffle(), is(grouping("rightId")));
Joined.Term b = annotation.terms()[1];
assertThat(b.source(), eq(loader.modelType("Right")));
assertThat(b.mappings().length, is(2));
assertThat(b.mappings(), hasItemInArray(mapping("sid", "id")));
assertThat(b.mappings(), hasItemInArray(mapping("value", "right")));
assertThat(b.shuffle(), is(grouping("sid")));