Package br.facet.tcc.enums

Examples of br.facet.tcc.enums.UserRoles


     */
    @Test
    public void testAtualizar() throws DaoException {
        Permissao permissao = this.getPermissaoDao().listar(Permissao.class)
                .get(0);
        UserRoles expected = permissao.getRole();
        permissao.setRole(UserRoles.ROLE_USR);
        this.getPermissaoDao().atualizar(permissao);

        UserRoles actual = this.getPermissaoDao().listar(Permissao.class)
                .get(0).getRole();
        Assert.assertNotSame("Tipos de permissao s�o diferentes", expected,
                actual);
    }
View Full Code Here

TOP

Related Classes of br.facet.tcc.enums.UserRoles

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.