Assert.assertTrue( "ERROR_0001 not found in " + e.getMessage(), e.getMessage().indexOf( "ERROR_0001" ) >= 0 );
}
isAdmin = true;
service.createUser( user );
// the last role should have the same name and description
IPentahoUser userVerified = userRoleDao.getUser( null, "test" );
Assert.assertNotNull( userVerified );
Assert.assertEquals( "test", userVerified.getUsername() );