org.subethamail.smtp.test.command.CommandTest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of subethasmtp Show documentation
Show all versions of subethasmtp Show documentation
SubEtha SMTP is an easy-to-use server-side SMTP library for Java.
package org.subethamail.smtp.test.command;
import org.subethamail.smtp.test.util.ServerTestCase;
/**
* @author Jon Stevens
*/
public class CommandTest extends ServerTestCase
{
public CommandTest(String name)
{
super(name);
}
public void testCommandHandling() throws Exception
{
this.expect("220");
this.send("blah blah blah");
this.expect("500 Error: command not implemented");
}
}