@Test void sendEmailVerification() { when(scaVerificationRestClient.sendEmailVerification(anyString())).thenAnswer(i -> ResponseEntity.ok().build()); ResponseEntity<Void> response = verificationController.sendEmailVerification(EMAIL); assertTrue(response.getStatusCode().is2xxSuccessful()); }
@Override public ResponseEntity<Void> sendEmailVerification(String email) { return scaVerificationRestClient.sendEmailVerification(email); }
TppEmailVerificationController implements TppEmailVerificationRestApi { @Override public ResponseEntity<Void> sendEmailVerification(String email) { return scaVerificationRestClient.sendEmailVerification(email); } }
TppEmailVerificationController implements TppEmailVerificationRestApi { @Override public ResponseEntity<Void> sendEmailVerification(String email) { return scaVerificationRestClient.sendEmailVerification(email); }  }
TppEmailVerificationController implements TppEmailVerificationRestApi { @Override public ResponseEntity<Void> sendEmailVerification(String email) { return scaVerificationRestClient.sendEmailVerification(email); }  @Override ResponseEntity<Void> sendEmailVerification(String email); @Override ResponseEntity<Void> confirmVerificationToken(String token); }
TppEmailVerificationController implements TppEmailVerificationRestApi { @Override public ResponseEntity<Void> sendEmailVerification(String email) { return scaVerificationRestClient.sendEmailVerification(email); }  @Override ResponseEntity<Void> sendEmailVerification(String email); @Override ResponseEntity<Void> confirmVerificationToken(String token);  }