public function testCreateRoleThrowsInvalidArgumentException()
{
$roleService = $this->repository->getRoleService();
$roleCreateStruct = $roleService->newRoleCreateStruct('Anonymous');
// @todo uncomment when support for multilingual names and descriptions is added EZP-24776
// $roleCreateStruct->mainLanguageCode = 'eng-GB';
// $roleCreateStruct->names = array( 'eng-GB' => 'Anonymous' );
// $roleCreateStruct->descriptions = array( 'eng-GB' => 'Anonymous role' );
$roleService->createRole($roleCreateStruct);
}