package br.gov.serpro.cte.email.responder; import org.junit.Test; import br.gov.serpro.cte.common.ExpressoMailTestCase; /** * @author L.F.Estivalet (Serpro) * * Created on Nov 17, 2010 at 9:50:00 AM * */ public class EncaminharEmailAnexoTestCase extends ExpressoMailTestCase { @Test public void testaEncaminharEmailAnexo() throws Exception { String id = super.readEmail(Valor.ASSUNTO_ANEXO.getValue()); id = id.substring(id.lastIndexOf("_")); super.forwardEmail(id, Valor.EMAIL_TESTE_1.getValue()); } }