Rev | Line | |
---|
[3505] | 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:50:00 AM |
---|
| 11 | * |
---|
| 12 | */ |
---|
| 13 | public class EncaminharEmailAnexoTestCase extends ExpressoMailTestCase { |
---|
| 14 | |
---|
| 15 | @Test |
---|
| 16 | public void testaEncaminharEmailAnexo() throws Exception { |
---|
| 17 | String id = super.readEmail(Valor.ASSUNTO_ANEXO.getValue()); |
---|
| 18 | id = id.substring(id.lastIndexOf("_")); |
---|
| 19 | super.forwardEmail(id, Valor.EMAIL_TESTE_1.getValue()); |
---|
| 20 | } |
---|
| 21 | |
---|
| 22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.