Revision 3532,
698 bytes
checked in by luiz-fernando, 13 years ago
(diff) |
Ticket #1402 - Adicionado suporte para entrar com o conteudo do email
|
Line | |
---|
1 | package br.gov.serpro.cte.email.compor; |
---|
2 | |
---|
3 | import org.junit.Test; |
---|
4 | |
---|
5 | import br.gov.serpro.cte.common.ExpressoMailTestCase; |
---|
6 | |
---|
7 | /** |
---|
8 | * @author L.F.Estivalet (Serpro) |
---|
9 | * |
---|
10 | * Created on Nov 18, 2010 at 3:49:56 PM |
---|
11 | * |
---|
12 | */ |
---|
13 | public class EnviarEmailSemAssuntoTestCase extends ExpressoMailTestCase { |
---|
14 | |
---|
15 | // TODO Remover o email sem assunto da Caixa de Entrada, itens enviados e |
---|
16 | // lixeira e adicionar teste de verificacao de email enviado. |
---|
17 | @Test |
---|
18 | public void testa() throws Exception { |
---|
19 | super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), "", |
---|
20 | Valor.TEXTO_EMAIL_SEM_ASSUNTO.getValue()); |
---|
21 | super.sendEmail(); |
---|
22 | assertTrue(selenium.getConfirmation().matches( |
---|
23 | Mensagem.SEM_ASSUNTO.getValue())); |
---|
24 | } |
---|
25 | |
---|
26 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.