/** Un aviso que se envía por correo electrónico. */
public class EmailNotification extends Notification {

    public EmailNotification(String address, String text) {
        super(address, text);
    }

    @Override
    public String send() {
        return "[correo] para " + recipient() + ": " + text();
    }

    @Override
    public long cost() {
        return 0;
    }
}
