Skip to content

Commit

Permalink
OPEN - #9: Campos formatados em função do padrão de cada Banco
Browse files Browse the repository at this point in the history
  • Loading branch information
gilmatryx committed Jan 17, 2014
1 parent d51edee commit 884d905
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
package org.jrimum.bopepo.view.info.campo;

import static org.hamcrest.Matchers.equalTo;
import static org.jrimum.bopepo.view.info.campo.BoletoInfoCampoCodigoBanco.getTextoCodigoDoBanco;
import static org.junit.Assert.*;

import org.jrimum.bopepo.excludes.ContaBancariaBuilder;
Expand All @@ -48,6 +49,6 @@ public class TestBoletoInfoCampoCodigoBanco {
public void deve_retornar_codigo_de_compensacao_com_dv(){
ContaBancaria conta = ContaBancariaBuilder.defaultValue();

assertThat(BoletoInfoCampoCodigoBanco.getTextoCodigoDoBanco(conta), equalTo("237-2"));
assertThat(getTextoCodigoDoBanco(conta), equalTo("237-2"));
}
}

0 comments on commit 884d905

Please sign in to comment.