import java.sql.SQLException;

import test.IdDAO;
import test.User;

import junit.framework.TestCase;

public class IdDAOTests extends TestCase {
	IdDAO id;

	public void setUp() throws SQLException {
		id = new IdDAO();
		id.init();
	}

	public void testInsert() throws SQLException {
		User u = new User();
		u.setEmailAddress("foo@bar.imvalid");
		u.setPassword("testtest");
		u.setFirstName("foo");
		u.setLastName("bar");
		id.insertUser(u);
	}
}
