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:45:39 AM * */ public class EncaminharEmailTestCase extends ExpressoMailTestCase { @Test public void testaEncaminharEmail() throws Exception { String id = super.readEmail(Valor.ASSUNTO.getValue()); id = id.substring(id.lastIndexOf("_")); super.forwardEmail(id, Valor.EMAIL_TESTE_1.getValue()); } }