MockResult<Ex2> r2 = mapper.create("ex2");
@SuppressWarnings("unchecked")
Result<ExJoined> f = (Result<ExJoined>) create(loader, name, mapper.toArguments());
ExJoined joined = new ExJoined();
joined.setSid1(1);
joined.setSid2(2);
joined.setValue(100);
f.add(joined);
assertThat(r1.getResults().size(), is(1));
assertThat(r2.getResults().size(), is(1));
assertThat(r1.getResults().get(0).getSid(), is(1L));