package br.gov.serpro.cte.email.compor; import org.junit.Test; import br.gov.serpro.cte.common.ExpressoMailTestCase; /** * @author L.F.Estivalet (Serpro) * * Created on Nov 18, 2010 at 3:48:27 PM * */ public class EnviarEmailDestinatarioInvalidoTestCase extends ExpressoMailTestCase { @Test public void testaEnviarEmailDestinatarioInvalido() throws Exception { super.composeEmail(getValor("email.invalido"), getValor("assunto.email.invalido")); super.sendEmail(); super.assertMessage(getCampo("email.mensagem"), getMensagem("destinatario.invalido")); } }