com.github.sleroy.junit.mail.server.events.RejectedMailEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fakesmtp-junit-runner Show documentation
Show all versions of fakesmtp-junit-runner Show documentation
JUnit Rule to create a FakeSmtp server to write mailing integration tests
/*
*
*/
package com.github.sleroy.junit.mail.server.events;
import com.github.sleroy.fakesmtp.model.EmailModel;
/**
* The Class {@link RejectedMailEvent} defines an event when an email model has
* been rejected.
*/
public class RejectedMailEvent {
private final EmailModel model;
/**
* Instantiates a new rejected mail event.
*
* @param model
* the model
*/
public RejectedMailEvent(final EmailModel model) {
this.model = model;
}
public EmailModel getModel() {
return model;
}
}