Author author = newInstance(Author.class, new Object[] {"The Best One", new Long(505L)});
Book book = newInstance(Book.class, new Object[] {new Long(141L), author});
libSrc.setBooks(Collections.singletonList(book));
LibraryPrime libDest = newInstance(LibraryPrime.class);
AuthorPrime authorPrime = newInstance(AuthorPrime.class, new Object[] {new Long(505L), "The Ultimate One", new Long(5100L)});
BookPrime bookDest = newInstance(BookPrime.class, new Object[] {new Long(141L), authorPrime});
List<BookPrime> bookDests = newInstance(ArrayList.class);
bookDests.add(bookDest);
libDest.setBooks(bookDests);