package br.gov.serpro.cte.email.ler; import org.junit.Test; import br.gov.serpro.cte.common.ExpressoMailTestCase; import br.gov.serpro.cte.email.compor.EnviarEmailTestCase; /** * @author L.F.Estivalet (Serpro) * * Created on Nov 19, 2010 at 3:14:33 PM * */ public class MarcarEmailNaoLidoTestCase extends ExpressoMailTestCase { @Test public void testa() throws Exception { super.executeTestCase(EnviarEmailTestCase.class, new Class[] { boolean.class }, new Object[] { false }); super.readEmail(Valor.ASSUNTO.getValue()); selenium.click(Campo.NAO_LIDO.getValue()); this.assertMessage(Campo.MENSAGEM.getValue(), Mensagem.MARCAR_NAO_LIDO.getValue()); } }