Line | |
---|
1 | package br.gov.serpro.cte.email.responder; |
---|
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 17, 2010 at 9:56:17 AM |
---|
11 | * |
---|
12 | */ |
---|
13 | public class ResponderEmailTestCase extends ExpressoMailTestCase { |
---|
14 | |
---|
15 | @Test |
---|
16 | public void testaResponserEmail() throws Exception { |
---|
17 | String id = super.readEmail(Valor.ASSUNTO.getValue()); |
---|
18 | super.replyEmail(id); |
---|
19 | } |
---|
20 | |
---|
21 | @Test |
---|
22 | public void testaResponserEmailSemHistorico() throws Exception { |
---|
23 | String id = super.readEmail(Valor.ASSUNTO.getValue()); |
---|
24 | super.replyEmailWithoutHistory(id); |
---|
25 | } |
---|
26 | |
---|
27 | @Test |
---|
28 | public void testaResponserEmailTodos() throws Exception { |
---|
29 | String id = super |
---|
30 | .readEmail("[SELENIUM] Teste envio mensagem para múltiplos des..."); |
---|
31 | super.replyAllEmail(id); |
---|
32 | } |
---|
33 | |
---|
34 | @Test |
---|
35 | public void testaResponserEmailTodosSemHistorico() throws Exception { |
---|
36 | String id = super |
---|
37 | .readEmail("[SELENIUM] Teste envio mensagem para múltiplos des..."); |
---|
38 | super.replyEmailWithoutHistory(id); |
---|
39 | } |
---|
40 | |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.