* {@link br.facet.tcc.impl.dao.DaoConfiguration#atualizar(java.lang.Object)}
* .
*/
@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,