@Test(expected = WebApplicationException.class)
public void testGetNonExistingUser() throws Exception {

	// simulate user with admin priviledges
	doReturn(true).when(userService).isAdmin();
	userService.getUser(-1);
}