@Test(expected = IllegalArgumentException.class)
public void testUpdateUserThatDoesNotExist() {

    User newUser = userFactory.createNew(VALUE_FACTORY.createIRI("http://mobi.com/users/error"));
    engine.updateUser(newUser);
}