Advertisement
dcndrd

Untitled

Oct 10th, 2014
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.31 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package br.uefs.ecomp.leilao.facade;
  7.  
  8. import br.uefs.ecomp.leilao.model.Leilao;
  9. import br.uefs.ecomp.leilao.model.Papel;
  10. import br.uefs.ecomp.leilao.model.Produto;
  11. import br.uefs.ecomp.leilao.model.Usuario;
  12. import br.uefs.ecomp.leilao.util.Iterador;
  13. import org.junit.After;
  14. import org.junit.AfterClass;
  15. import org.junit.Before;
  16. import org.junit.BeforeClass;
  17. import org.junit.Test;
  18. import static org.junit.Assert.*;
  19.  
  20. /**
  21.  *
  22.  * @author dcandrade
  23.  */
  24. public class LeilaoFacadeTest {
  25.  
  26.     LeilaoController controller = new LeilaoController();
  27.  
  28.     Usuario u1;
  29.     Usuario u2;
  30.     Usuario u3;
  31.  
  32.     Produto p1;
  33.     Produto p2;
  34.     Produto p3;
  35.  
  36.     @Before
  37.     public void setUp() {
  38.         controller = new LeilaoController();
  39.  
  40.         u1 = new Usuario("123", "João", "Rua1");
  41.         u2 = new Usuario("234", "Maria", "Rua2");
  42.         u3 = new Usuario("345", "José", "Rua3");
  43.  
  44.         p1 = new Produto("Livro", "Ficção", 20.0);
  45.         p2 = new Produto("Porta", "sem janela", 50.0);
  46.         p3 = new Produto("Balde", "Verde", 35.0);
  47.     }
  48.  
  49.     @Test
  50.     public void listarLeiloesAndamentoTest() {
  51.  
  52.     }
  53.  
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement