addMockTestResultAction(build6, build6, build6);
checkRecipients(build6, "A", "K", "U", "W");
}
private static void checkRecipients(final Build build, final String... inAuthors) throws AddressException {
ExtendedEmailPublisherContext context = new ExtendedEmailPublisherContext(null, build, new Launcher.LocalLauncher(StreamTaskListener.fromStdout()), new StreamBuildListener(System.out, Charset.defaultCharset()));
EnvVars envVars = new EnvVars();
Set<InternetAddress> to = new HashSet<InternetAddress>();
Set<InternetAddress> cc = new HashSet<InternetAddress>();
Set<InternetAddress> bcc = new HashSet<InternetAddress>();
FailingTestSuspectsRecipientProvider provider = new FailingTestSuspectsRecipientProvider();