### Question:
RoleConverter implements ToServerConverter<ClientRole, Role, ToServerConversionOptions>, ToClientConverter<Role, ClientRole, ToClientConversionOptions> { @Override public ClientRole toClient(Role serverObject, ToClientConversionOptions options) { ClientRole clientRole = new ClientRole(); clientRole.setName(serverObject.getRoleName()); clientRole.setExternallyDefined(serverObject.isExternallyDefined()); clientRole.setTenantId(serverObject.getTenantId()); return clientRole; }  @Override ClientRole toClient(Role serverObject, ToClientConversionOptions options); @Override String getClientResourceType(); @Override Role toServer(ClientRole clientObject, ToServerConversionOptions options); @Override Role toServer(ClientRole clientObject, Role resultToUpdate, ToServerConversionOptions options); @Override String getServerResourceType();  }### Answer:
@Test public void testToClient() throws Exception { ClientRole converted = converter.toClient(server, null); assertEquals(converted.getName(), server.getRoleName()); assertEquals(converted.getTenantId(), server.getTenantId()); assertEquals(converted.isExternallyDefined(), server.isExternallyDefined()); }