}
@Test(expected = HttpException.class)
public void update_with_auth_09() throws URISyntaxException {
UpdateRequest updates = UpdateFactory.create("CREATE SILENT GRAPH <http://graph>");
UpdateProcessRemoteBase ue = (UpdateProcessRemoteBase) UpdateExecutionFactory.createRemote(updates, serviceUpdate);
// Auth credentials for valid user with correct password but scoped to
// wrong URI
ScopedAuthenticator authenticator = new ScopedAuthenticator(new URI("http://example"), "allowed",
"password".toCharArray());
ue.setAuthenticator(authenticator);
ue.execute();
}