Package br.facet.tcc.pojo

Examples of br.facet.tcc.pojo.Usuario


    }

    @Test
    public void testeObterPorId() throws DaoException {

        Usuario usuario = getUsuarioDao().obterPorID(Usuario.class, 5);

        File imagem = new File("src/test/resources/images/loo_out.jpg");
        FileOutputStream outputStream = null;
        try {
            outputStream = new FileOutputStream(imagem);
            outputStream.write(usuario.getImage());
            outputStream.close();
        } catch (Exception e) {
            Assert.fail(e.getMessage());
        }
    }
View Full Code Here

TOP

Related Classes of br.facet.tcc.pojo.Usuario

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.