Package br.com.sistelecom.entity

Examples of br.com.sistelecom.entity.Funcionario


     */
    @Test
    public void obterPorId() throws Exception {
        System.out.println("obterPorId");
        final Integer id = 4;
        final Funcionario funcionario = pesquisarId(id);
        assertNotNull(funcionario);
        assertTrue(funcionario.getNome().length() > 0);
        System.out.println(funcionario.getNome());
    }
View Full Code Here


     * Test of delete method, of class FuncionarioDAOImp.
     */
    @Test
    public void delete() throws Exception {
        System.out.println("delete");
        Funcionario funcionario = new Funcionario();
        Integer id = 2;
        funcionario.setIdFuncionario(id);
        FuncionarioDAOImpl instance = new FuncionarioDAOImpl();
        instance.excluir(funcionario);
       
        try{
          funcionario = pesquisarId(id);
View Full Code Here

TOP

Related Classes of br.com.sistelecom.entity.Funcionario

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.