Package model

Examples of model.Endereco


   
    private Endereco endereco;
    private EnderecoDAO enderecoDAO;
   
    public EnderecoController() {
        this.endereco = new Endereco();
        this.enderecoDAO = new EnderecoDAO();
    }
View Full Code Here


     * Test of atualizar method, of class EnderecoController.
     */
    public void testAtualizar() {
        System.out.println("EnderecoControllerTest - atualizar");
        String codigo = "1";
        Endereco pEndereco = new Endereco();
        pEndereco.setCodigoEndereco(Integer.parseInt(codigo));
        EnderecoController instance = new EnderecoController();
        boolean expResult = true;
        boolean result = instance.atualizar(pEndereco);
        assertEquals(expResult, result);
    }
View Full Code Here

     * Test of salvar method, of class EnderecoController.
     */
    public void testSalvar() {
        System.out.println("EnderecoControllerTest - salvar");
        String codigo = "1";
        Endereco pEndereco = new Endereco();
        pEndereco.setCodigoEndereco(Integer.parseInt(codigo));
        EnderecoController instance = new EnderecoController();
        boolean expResult = true;
        boolean result = instance.salvar(pEndereco);
        assertEquals(expResult, result);
    }
View Full Code Here

TOP

Related Classes of model.Endereco

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.