public function testUpdateObjectStateThrowsInvalidArgumentException()
{
$objectStateService = $this->repository->getObjectStateService();
$stateUpdateStruct = $objectStateService->newObjectStateUpdateStruct();
$stateUpdateStruct->identifier = 'locked';
$state = $objectStateService->loadObjectState(1);
$objectStateService->updateObjectState($state, $stateUpdateStruct);
}