	@Test(expected = NotAuthorizedException.class)
	public void contentManipulationLockCreate_provider_noPermission() throws ObjectNotFoundException {

		ProviderRestService tested = getTested();
		mockEntityGet(tested, "provider1");
		Mockito.doThrow(new NotAuthorizedException("")).when(tested.authenticationUtilService)
				.checkProviderManagementPermission("provider1");
		tested.contentManipulationLockCreate("provider1");
	}