@Test
public void testHasOrdinaryPermission() throws UserManagerException {

  final UserManager manager = TestUtils.createTestXmlUserManager();
  final User testUser = manager.getUser("testUser", "testUser");
  Assert.assertFalse(HttpRequestUtils.hasPermission(manager, testUser,
      Type.ADMIN));
}