### Question:
TokenCertificateSigningRequestConverter { public TokenCertificateSigningRequest convert(CertRequestInfo csrInfo) { TokenCertificateSigningRequest request = new TokenCertificateSigningRequest(); request.setId(csrInfo.getId()); if (csrInfo.getMemberId() != null) { request.setOwnerId(clientConverter.convertId(csrInfo.getMemberId())); } return request; } @Autowired  TokenCertificateSigningRequestConverter(ClientConverter clientConverter); TokenCertificateSigningRequest convert(CertRequestInfo csrInfo); List<TokenCertificateSigningRequest> convert(Iterable<CertRequestInfo> csrInfos);  }### Answer:
@Test public void convert() { CertRequestInfo certRequestInfo = new CertRequestInfo("id", ClientId.create("a", "b", "c"), "subject-name"); TokenCertificateSigningRequest csr = csrConverter.convert(certRequestInfo); assertEquals("id", csr.getId()); assertEquals("a:b:c", csr.getOwnerId()); }