public function testCreateUserThrowsNotFoundException()
{
$userService = $this->repository->getUserService();
$userCreateStruct = $userService->newUserCreateStruct('new_user', '[email protected]', 'password', 'eng-GB');
$userCreateStruct->setField('first_name', 'New');
$userCreateStruct->setField('last_name', 'User');
$parentGroup = new UserGroup(array('content' => new Content(array('versionInfo' => new VersionInfo(array('contentInfo' => new ContentInfo(array('id' => APIBaseTest::DB_INT_MAX)))), 'internalFields' => array()))));
$userService->createUser($userCreateStruct, array($parentGroup));
}