package test.info.dragonlady.scriptlet.mail;

import java.io.FileInputStream;
import java.io.InputStream;

import junit.framework.TestCase;

public class MainTest extends TestCase {

	public void testMain1() {
		InputStream is = System.in;
		try {
			String args[] = {"object_map.xml",info.dragonlady.scriptlet.mail.Main._debug};
			FileInputStream fi = new FileInputStream("OK_mail.eml");
			System.setIn(fi);
			info.dragonlady.scriptlet.mail.Main.main(args);
		}
		catch(Exception e) {
			e.printStackTrace(System.out);
		}
		System.setIn(is);
	}
}
