@Test
public void testUserWithPermissionsCanUploadProject() throws UserManagerException {

  final UserManager userManager = TestUtils.createTestXmlUserManager();
  final User testUpload = userManager.getUser("testUpload", "testUpload");
  assertThat(UserUtils.hasPermissionforAction(userManager, testUpload, UPLOADPROJECTS)).isTrue();
}