Created
September 28, 2015 16:47
-
-
Save stephan-mueller/f3bb3dc93891b7ade64a to your computer and use it in GitHub Desktop.
Alternative implementation for the service {@link MailService}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Alternative | |
public class AlternativeMailService extends MailService { | |
public static CountDownLatch latch; | |
@Override | |
public void sendMail(final String subject, final String body, final String... recipients) { | |
latch.countDown(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment