8182838485868788899091
assertNotNull(participant); } public void testCollaboratorTranslator() throws Exception { Author collaborator = new CollaboratorTranslator() .toCollaboratorFromRepresentation( USER_IN_ROLE_REPRESENTATION, Author.class); assertNotNull(collaborator);
121122123124125126127128129130131
// only eliminates the HTTP client; // still uses translator try { collaborator = new CollaboratorTranslator() .toCollaboratorFromRepresentation( USER_IN_ROLE_REPRESENTATION, aCollaboratorClass); } catch (Exception e) {