{"action":"created","comment":{"url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls/comments/76009857","id":76009857,"diff_hunk":"@@ -11,287 +10,219 @@ function Stop-Pester($message = \"EMERGENCY: Script cannot continue.\")\n Describe -Tags \"Node.Tests\" \"Node.Tests\" {\n \n \tMock Export-ModuleMember { return $null; }\n-\n-\t. \"$here\\$sut\"\n+\t\n+\t$entityPrefix = \"TestItem-\";\n+\t$usedEntitySets = @(\"Nodes\");\n+\t$nodeEntityKindId = [biz.dfch.CS.Appclusive.Public.Constants+EntityKindId]::Node.value__;\n \n \tContext \"#CLOUDTCL-1873-NodeTests\" {\n \t\t\n \t\tBeforeEach {\n \t\t\t$moduleName = 'biz.dfch.PS.Appclusive.Client';\n \t\t\tRemove-Module $moduleName -ErrorAction:SilentlyContinue;\n \t\t\tImport-Module $moduleName;\n-\t\t\t$svc = Enter-ApcServer;\n+\t\t\t$svc = Enter-Appclusive;\n+\t\t\t$nodeParentId = (Get-ApcTenant -Current -svc $svc).NodeId;\n \t\t}\n \t\t\n-\t\tIt \"DoStateChangeOnNodeSetsConditionAndConditionParametersOnJob\" -Test {\n-\t\t\t# Arrange\n-\t\t\t$condition = 'Continue';\n-\t\t\t$conditionParams = @{Msg = \"tralala\"};\n-\t\t\t\n-\t\t\t$node = New-ApcNode -Name 'Arbitrary' -ParentId 1 -EntityKindId 1 -Parameters @{} -svc $svc;\n+\t\tAfterEach {\n+            $svc = Enter-Appclusive;\n+            $entityFilter = \"startswith(Name, '{0}')\" -f $entityPrefix;\n \n-\t\t\t$query = \"RefId eq '{0}' and EntityKindId eq 1\" -f $node.Id;\n-\t\t\t$job = $svc.Core.Jobs.AddQueryOption('$filter', $query) | Select;\n-\n-\t\t\t$jobResult = @{Version = \"1\"; Message = \"Msg\"; Succeeded = $true};\n-\t\t\t$null = Invoke-ApcEntityAction -InputObject $job -EntityActionName \"JobResult\" -InputParameters $jobResult;\n+            foreach ($entitySet in $usedEntitySets)\n+            {\n+                $entities = $svc.Core.$entitySet.AddQueryOption('$filter', $entityFilter) | Select;\n+         \n+                foreach ($entity in $entities)\n+                {\n+                    Remove-ApcEntity -svc $svc -Id $entity.Id -EntitySetName $entitySet -Confirm:$false;\n+                }\n+            }\n+        }\n+\t\t\n+\t\tIt \"CreateNode\" -Test {\n+\t\t\t#ARRANGE\n+\t\t\t$nodeName = $entityPrefix + \"node\";\n+\t\t\t$nodeDescription = \"node description\";\n \t\t\t\n-\t\t\t# Act\n-\t\t\t$result = Invoke-ApcEntityAction -InputObject $node -EntityActionName 'InvokeAction' -InputName $condition -InputParameters $conditionParams;\n+\t\t\t#ACT create node\n+\t\t\t$node = New-ApcNode -Name $nodeName -Description $nodeDescription -ParentId $nodeParentId -EntityKindId $nodeEntityKindId -svc $svc;\n \t\t\t\n-\t\t\ttry \n-\t\t\t{\n-\t\t\t\t# Assert\n-\t\t\t\t$svc = Enter-ApcServer;\n-\t\t\t\t$result | Should Not Be $null;\n-\t\t\t\t$resultingJob = Get-ApcJob -Id $job.Id -svc $svc;\n-\t\t\t\t$resultingJob.Condition | Should Be $condition;\n-\t\t\t\t$resultingJob.ConditionParameters | Should Be ($conditionParams | ConvertTo-Json -Compress);\n-\t\t\t}\n-\t\t\tfinally \n-\t\t\t{\n-\t\t\t\t# Cleanup\n-\t\t\t\t$null = Remove-ApcEntity -Id $job.Id -EntitySetName \"Jobs\" -Confirm:$false;\n-\t\t\t\t$null = Remove-ApcEntity -Id $node.Id -EntitySetName \"Nodes\" -Confirm:$false;\n-\t\t\t}\n+\t\t\t#ASSERT Node creation\n+\t\t\t$node | Should Not Be $null;\n+\t\t\t$node.Id | Should Not Be $null;\n+\t\t\t$node.Name | Should Be $nodeName;\n+\t\t\t$node.Description | Should Be $nodeDescription;\n \t\t}\n \t\t\n-\t\tIt \"CreateAndDeleteNodeSucceeds\" -Test {\n-\t\t\t# Arrange\n+\t\tIt \"CreateParentAndChildNode\" -Test {\n+\t\t\t#ARRANGE\n+\t\t\t$nodeName = $entityPrefix + \"node\";\n+\t\t\t$childName = $entityPrefix + \"childnode\";\n \t\t\t\n-\t\t\t# Act\n-\t\t\t$node = New-ApcNode -Name 'Arbitrary' -ParentId 1 -EntityKindId 1 -Parameters @{} -svc $svc;\n+\t\t\t#ACT create node\n+\t\t\t$parentNode = New-ApcNode -Name $nodeName -ParentId $nodeParentId -EntityKindId $nodeEntityKindId -svc $svc;\n \t\t\t\n-\t\t\ttry \n-\t\t\t{\n-\t\t\t\t#Assert\t\n-\t\t\t\t$node | Should Not Be $null;\n-\t\t\t\t$node.Id | Should Not Be 0;\n-\t\t\t} \n-\t\t\tfinally \n-\t\t\t{\n-\t\t\t\t#Cleanup\n-\t\t\t\t$query = \"RefId eq '{0}' and EntityKindId eq 1\" -f $node.Id;\n-\t\t\t\t$job = $svc.Core.Jobs.AddQueryOption('$filter', $query) | Select;\n-\t\t\t\t\n-\t\t\t\t$null = Remove-ApcEntity -Id $job.Id -EntitySetName \"Jobs\" -Confirm:$false;\n-\t\t\t\t$deletionResult = Remove-ApcEntity -Id $node.Id -EntitySetName \"Nodes\" -Confirm:$false;\n-\t\t\t\t\n-\t\t\t\t$deletionResult.StatusCode | Should Be 204;\n-\t\t\t}\n-\t\t}\n-\t\t\n-\t\tIt \"AddNewParentAndChildNodeSucceeds\" -Test {\n-\t\t\ttry\n-\t\t\t{\n-\t\t\t\t# Act\n-\t\t\t\t$node = New-ApcNode -Name 'Arbitrary Parent' -ParentId 1 -EntityKindId 1 -Parameters @{} -svc $svc;\n-\t\t\t\t$childNode = New-ApcNode -Name 'Arbitrary Child' -ParentId $node.Id -EntityKindId 1 -Parameters @{} -svc $svc;\n-\t\t\t\t\n-\t\t\t\t#Assert\t\n-\t\t\t\t$childNode | Should Not Be $null;\n-\t\t\t\t$childNode.Id | Should Not Be 0;\n-\t\t\t\t$childNode.ParentId | Should Be $node.Id;\n-\t\t\t\t$node | Should Not Be $null;\n-\t\t\t\t$node.Id | Should Not Be 0;\n-\t\t\t}\n-\t\t\tfinally\n-\t\t\t{\n-\t\t\t\t#Cleanup\n-\t\t\t\t$query = \"RefId eq '{0}' and EntityKindId eq 1\" -f $childNode.Id;\n-\t\t\t\t$job = $svc.Core.Jobs.AddQueryOption('$filter', $query) | Select;\n-\t\t\t\t$null = Remove-ApcEntity -Id $job.Id -EntitySetName \"Jobs\" -Confirm:$false;\n-\t\t\t\t\n-\t\t\t\t$query = \"RefId eq '{0}' and EntityKindId eq 1\" -f $node.Id;\n-\t\t\t\t$job = $svc.Core.Jobs.AddQueryOption('$filter', $query) | Select;\n-\t\t\t\t$null = Remove-ApcEntity -Id $job.Id -EntitySetName \"Jobs\" -Confirm:$false;\n-\t\t\t\t\n-\t\t\t\t$null = Remove-ApcEntity -Id $childNode.Id -EntitySetName \"Nodes\" -Confirm:$false;\n-\t\t\t\t$null = Remove-ApcEntity -Id $node.Id -EntitySetName \"Nodes\" -Confirm:$false;\n-\t\t\t}\n-\t\t}\n-\t\t\n-\t\tIt \"DeleteParentNodeWithExistingChildThrowsException\" -Test {\n-\t\t\ttry \n-\t\t\t{\n-\t\t\t\t# Arrange\n-\t\t\t\t$node = New-ApcNode -Name 'Arbitrary Parent' -ParentId 1 -EntityKindId 1 -Parameters @{} -svc $svc;\n-\t\t\t\t$childNode = New-ApcNode -Name 'Arbitrary Child' -ParentId $node.Id -EntityKindId 1 -Parameters @{} -svc $svc;\n-\t\t\t\t\n-\t\t\t\t$childNode | Should Not Be $null;\n-\t\t\t\t$childNode.Id | Should Not Be 0;\n-\t\t\t\t$childNode.ParentId | Should Be $node.Id;\n-\t\t\t\t$node | Should Not Be $null;\n-\t\t\t\t$node.Id | Should Not Be 0;\n-\t\t\t\t\t\t\n-\t\t\t\t# Act\n-\t\t\t\ttry \n-\t\t\t\t{\n-\t\t\t\t\t$svc.Core.DeleteObject($node);\n-\t\t\t\t\t$svc.Core.SaveChanges();\n-\t\t\t\t} catch \n-\t\t\t\t{\n-\t\t\t\t\t$exception = ConvertFrom-Json $error[0].Exception.InnerException.InnerException.Message;\n-\t\t\t\t\t$exception.'odata.error'.message.value | Should Be \"An error has occurred.\";\n-\t\t\t\t\t$detach = $svc.Core.Detach($node);\n-\t\t\t\t}\n-\t\t\t}\n-\t\t\tfinally\n-\t\t\t{\n-\t\t\t\t#Cleanup\n-\t\t\t\t$query = \"RefId eq '{0}' and EntityKindId eq 1\" -f $childNode.Id;\n-\t\t\t\t$job = $svc.Core.Jobs.AddQueryOption('$filter', $query) | Select;\n-\t\t\t\t$null = Remove-ApcEntity -Id $job.Id -EntitySetName \"Jobs\" -Confirm:$false;\n-\t\t\t\t\n-\t\t\t\t$query = \"RefId eq '{0}' and EntityKindId eq 1\" -f $node.Id;\n-\t\t\t\t$job = $svc.Core.Jobs.AddQueryOption('$filter', $query) | Select;\n-\t\t\t\t$null = Remove-ApcEntity -Id $job.Id -EntitySetName \"Jobs\" -Confirm:$false;\n-\t\t\t\t\n-\t\t\t\t$null = Remove-ApcEntity -Id $childNode.Id -EntitySetName \"Nodes\" -Confirm:$false;\n-\t\t\t\t$null = Remove-ApcEntity -Id $node.Id -EntitySetName \"Nodes\" -Confirm:$false;\n-\t\t\t}\n+\t\t\t#get Id of the node\n+\t\t\t$nodeId = $parentNode.Id;\n+\t\t\t\n+\t\t\t#ACT create child Node\n+\t\t\t$childNode = New-ApcNode -Name $childName -ParentId $nodeId -EntityKindId $nodeEntityKindId -svc $svc;\n+\t\t\t\n+\t\t\t#ASSERT parent & child Node creation\n+\t\t\t$parentNode | Should Not Be $null;\n+\t\t\t$parentNode.Id | Should Not Be $null;\n+\t\t\t$parentNode.Name | Should Be $nodeName;\n+\t\t\t$childNode | Should Not Be $null;\n+\t\t\t$childNode.Id | Should Not Be $null;\n+\t\t\t$childNode.ParentId | Should Be $nodeId;\n+\t\t\t$childNode.Name | Should Be $childName;\n+\t\t\t\n+\t\t\t#CLEANUP - Remove child node (The AfterEach block will handle parent node)\n+\t\t\tRemove-ApcNode -id $childNode.Id -Confirm:$false -svc $svc;\n \t\t}\n \t\t\n-\t\tIt \"LoadChildNodesSucceeds\" -Test {\n-\t\t\ttry\n-\t\t\t{\n-\t\t\t\t# Arrange\n-\t\t\t\t$node = New-ApcNode -Name 'Arbitrary Parent' -ParentId 1 -EntityKindId 1 -Parameters @{} -svc $svc;\n-\t\t\t\t$childNode = New-ApcNode -Name 'Arbitrary Child' -ParentId $node.Id -EntityKindId 1 -Parameters @{} -svc $svc;\n-\t\t\t\t$childNode2 = New-ApcNode -Name 'Arbitrary Child 2' -ParentId $node.Id -EntityKindId 1 -Parameters @{} -svc $svc;\n-\t\t\t\t\n-\t\t\t\t# Act\n-\t\t\t\t$childNodes = $svc.Core.LoadProperty($node, 'Children') | Select;\n-\t\t\t\t\n-\t\t\t\t#Assert\n-\t\t\t\t$childNodes | Should Not Be $Null;\n-\t\t\t\t$childNodes.Id -contains $childNode.Id | Should be $true;\n-\t\t\t\t$childNodes.Id -contains $childNode2.Id | Should be $true;\n-\t\t\t}\n-\t\t\tfinally\n-\t\t\t{\n-\t\t\t\t#Cleanup\n-\t\t\t\t$query = \"RefId eq '{0}' and EntityKindId eq 1\" -f $childNode.Id;\n-\t\t\t\t$job = $svc.Core.Jobs.AddQueryOption('$filter', $query) | Select;\n-\t\t\t\t$null = Remove-ApcEntity -Id $job.Id -EntitySetName \"Jobs\" -Confirm:$false;\n-\t\t\t\t\n-\t\t\t\t$query = \"RefId eq '{0}' and EntityKindId eq 1\" -f $childNode2.Id;\n-\t\t\t\t$job = $svc.Core.Jobs.AddQueryOption('$filter', $query) | Select;\n-\t\t\t\t$null = Remove-ApcEntity -Id $job.Id -EntitySetName \"Jobs\" -Confirm:$false;\n-\t\t\t\t\n-\t\t\t\t$query = \"RefId eq '{0}' and EntityKindId eq 1\" -f $node.Id;\n-\t\t\t\t$job = $svc.Core.Jobs.AddQueryOption('$filter', $query) | Select;\n-\t\t\t\t$null = Remove-ApcEntity -Id $job.Id -EntitySetName \"Jobs\" -Confirm:$false;\n-\t\t\t\t\n-\t\t\t\t$null = Remove-ApcEntity -Id $childNode.Id -EntitySetName \"Nodes\" -Confirm:$false;\n-\t\t\t\t$null = Remove-ApcEntity -Id $childNode2.Id -EntitySetName \"Nodes\" -Confirm:$false;\n-\t\t\t\t$null = Remove-ApcEntity -Id $node.Id -EntitySetName \"Nodes\" -Confirm:$false;\n-\t\t\t}\n+\t\tIt \"LoadChildNodes\" -Test {\n+\t\t\t#ARRANGE\n+\t\t\t$nodeName = $entityPrefix + \"node\";\n+\t\t\t$childName1 = $entityPrefix + \"childnode1\";\n+\t\t\t$childName2 = $entityPrefix + \"childnode2\";\n+\t\t\t\n+\t\t\t#ACT create node\n+\t\t\t$parentNode = New-ApcNode -Name $nodeName -ParentId $nodeParentId -EntityKindId $nodeEntityKindId -svc $svc;\n+\t\t\t\n+\t\t\t#get Id of the node\n+\t\t\t$nodeId = $parentNode.Id;\n+\t\t\t\n+\t\t\t#ACT create child Node\n+\t\t\t$childNode1 = New-ApcNode -Name $childName1 -ParentId $nodeId -EntityKindId $nodeEntityKindId -svc $svc;\n+\t\t\t$childNode2 = New-ApcNode -Name $childName2 -ParentId $nodeId -EntityKindId $nodeEntityKindId -svc $svc;\n+\t\t\t\n+\t\t\t#ASSERT parent & child Node creation\n+\t\t\t$parentNode | Should Not Be $null;\n+\t\t\t$parentNode.Id | Should Not Be $null;\n+\t\t\t$parentNode.Name | Should Be $nodeName;\n+\t\t\t$childNode1 | Should Not Be $null;\n+\t\t\t$childNode1.Id | Should Not Be $null;\n+\t\t\t$childNode1.ParentId | Should Be $nodeId;\n+\t\t\t$childNode1.Name | Should Be $childName1;\n+\t\t\t$childNode2 | Should Not Be $null;\n+\t\t\t$childNode2.Id | Should Not Be $null;\n+\t\t\t$childNode2.ParentId | Should Be $nodeId;\n+\t\t\t$childNode2.Name | Should Be $childName2;\n+\t\t\t\n+\t\t\t#ACT\n+\t\t\t$childNodes = $svc.Core.LoadProperty($parentNode, 'Children') | Select;\n+\t\t\t\n+\t\t\t#ASSERT\n+\t\t\t$childNodes | Should Not Be $null;\n+\t\t\t$childNodes.Id -contains $childNode1.Id | Should be $true;\n+\t\t\t$childNodes.Id -contains $childNode2.Id | Should be $true;\n+\t\t\t\n+\t\t\t#CLEANUP - Remove child nodes (The AfterEach block will handle parent node)\n+\t\t\tRemove-ApcNode -id $childNode1.Id -Confirm:$false -svc $svc;\n+\t\t\tRemove-ApcNode -id $childNode2.Id -Confirm:$false -svc $svc;\n \t\t}\n \t\t\n-\t\tIt \"LoadParentNodeSucceeds\" -Test {\n-\t\t\ttry\n-\t\t\t{\n-\t\t\t\t# Arrange\n-\t\t\t\t$node = New-ApcNode -Name 'Arbitrary Parent' -ParentId 1 -EntityKindId 1 -Parameters @{} -svc $svc;\n-\t\t\t\t$childNode = New-ApcNode -Name 'Arbitrary Child' -ParentId $node.Id -EntityKindId 1 -Parameters @{} -svc $svc;\n-\t\t\t\t\n-\t\t\t\t# Act\n-\t\t\t\t$parentNode = $svc.Core.LoadProperty($childNode, 'Parent') | Select;\n-\t\t\t\t\n-\t\t\t\t#Assert\n-\t\t\t\t$parentNode | Should Not Be $Null;\n-\t\t\t\t$parentNode.Id | Should be $node.Id;\n-\t\t\t}\n-\t\t\tfinally\n-\t\t\t{\n-\t\t\t\t#Cleanup\n-\t\t\t\t$query = \"RefId eq '{0}' and EntityKindId eq 1\" -f $childNode.Id;\n-\t\t\t\t$job = $svc.Core.Jobs.AddQueryOption('$filter', $query) | Select;\n-\t\t\t\t$null = Remove-ApcEntity -Id $job.Id -EntitySetName \"Jobs\" -Confirm:$false;\n-\t\t\t\t\n-\t\t\t\t$query = \"RefId eq '{0}' and EntityKindId eq 1\" -f $node.Id;\n-\t\t\t\t$job = $svc.Core.Jobs.AddQueryOption('$filter', $query) | Select;\n-\t\t\t\t$null = Remove-ApcEntity -Id $job.Id -EntitySetName \"Jobs\" -Confirm:$false;\n+\t\tIt \"LoadParentNode\" -Test {\n+\t\t\t#ARRANGE\n+\t\t\t$nodeName = $entityPrefix + \"node\";\n+\t\t\t$childName = $entityPrefix + \"childnode\";\n+\t\t\t\n+\t\t\t#ACT create node\n+\t\t\t$parentNode = New-ApcNode -Name $nodeName -ParentId $nodeParentId -EntityKindId $nodeEntityKindId -svc $svc;\n+\t\t\t\n+\t\t\t#get Id of the node\n+\t\t\t$nodeId = $parentNode.Id;\n+\t\t\t\n+\t\t\t#ACT create child Node\n+\t\t\t$childNode = New-ApcNode -Name $childName -ParentId $nodeId -EntityKindId $nodeEntityKindId -svc $svc;\n+\t\t\t\n+\t\t\t#ACT\n+\t\t\t$loadedParentNode = $svc.Core.LoadProperty($childNode, 'Parent') | Select;\n \t\t\t\t\n-\t\t\t\t$null = Remove-ApcEntity -Id $childNode.Id -EntitySetName \"Nodes\" -Confirm:$false;\n-\t\t\t\t$null = Remove-ApcEntity -Id $node.Id -EntitySetName \"Nodes\" -Confirm:$false;\n-\t\t\t}\n+\t\t\t#ASSERT\n+\t\t\t$loadedParentNode | Should Not Be $null;\n+\t\t\t$loadedParentNode.Id | Should be $nodeId;\n+\t\t\t\n+\t\t\t#CLEANUP - Remove child node (The AfterEach block will handle parent node)\n+\t\t\tRemove-ApcNode -id $childNode.Id -Confirm:$false -svc $svc;\t\n \t\t}\n \t\t\n-\t\tIt \"AttachNodeAsChildToAnotherNodeSucceeds\" -Test {\n-\t\t\ttry\n-\t\t\t{\n-\t\t\t\t# Arrange\n-\t\t\t\t$node1 = New-ApcNode -Name 'Arbitrary Node 1' -ParentId 1 -EntityKindId 1 -Parameters @{} -svc $svc;\n-\t\t\t\t$node2 = New-ApcNode -Name 'Arbitrary Node 2' -ParentId 1 -EntityKindId 1 -Parameters @{} -svc $svc;\n-\t\t\t\t\n-\t\t\t\t$childrenOfNode1 = $svc.Core.LoadProperty($node1, 'Children') | Select;\n-\t\t\t\t$childrenOfNode1 | Should be $null;\n-\t\t\t\t$childrenOfNode2 = $svc.Core.LoadProperty($node2, 'Children') | Select;\n-\t\t\t\t$childrenOfNode2 | Should be $null;\n-\t\t\t\t\n-\t\t\t\t# Act\n-\t\t\t\t$svc.Core.SetLink($node2, \"Parent\", $node1);\n-\t\t\t\t$updateResult = $Svc.Core.SaveChanges();\n-\t\t\t\t\n-\t\t\t\t#Assert\n-\t\t\t\t$parentNodeReload = $svc.Core.LoadProperty($node2, 'Parent') | Select;\n-\t\t\t\t$childNodeReload = $svc.Core.LoadProperty($node1, 'Children') | Select;\n-\n-\t\t\t\t$updateResult.StatusCode | Should Be 204;\n-\t\t\t\t$parentNodeReload.Id | Should Be $node1.Id\n-\t\t\t\t$childNodeReload.Id | Should Be $node2.Id\n-\t\t\t}\n-\t\t\tfinally\n-\t\t\t{\n-\t\t\t\t#Cleanup\n-\t\t\t\t$query = \"RefId eq '{0}' and EntityKindId eq 1\" -f $node1.Id;\n-\t\t\t\t$job = $svc.Core.Jobs.AddQueryOption('$filter', $query) | Select;\n-\t\t\t\t$null = Remove-ApcEntity -Id $job.Id -EntitySetName \"Jobs\" -Confirm:$false;\n-\t\t\t\t\n-\t\t\t\t$query = \"RefId eq '{0}' and EntityKindId eq 1\" -f $node2.Id;\n-\t\t\t\t$job = $svc.Core.Jobs.AddQueryOption('$filter', $query) | Select;\n-\t\t\t\t$null = Remove-ApcEntity -Id $job.Id -EntitySetName \"Jobs\" -Confirm:$false;\n-\t\t\t\t\n-\t\t\t\t$null = Remove-ApcEntity -Id $node2.Id -EntitySetName \"Nodes\" -Confirm:$false;\n-\t\t\t\t$null = Remove-ApcEntity -Id $node1.Id -EntitySetName \"Nodes\" -Confirm:$false;\n-\t\t\t}\n+\t\tIt \"SetNodeAsChildToAnotherNode\" -Test {\n+\t\t\t#ARRANGE\n+\t\t\t$nodeName1 = $entityPrefix + \"node1\";\n+\t\t\t$nodeName2 = $entityPrefix + \"node2\";\n+\t\t\t\n+\t\t\t#ACT create nodes\n+\t\t\t$node1 = New-ApcNode -Name $nodeName1 -ParentId $nodeParentId -EntityKindId $nodeEntityKindId -svc $svc;\n+\t\t\t$node2 = New-ApcNode -Name $nodeName2 -ParentId $nodeParentId -EntityKindId $nodeEntityKindId -svc $svc;\n+\t\t\t\n+\t\t\t#get ids of nodes\n+\t\t\t$node1Id = $node1.Id;\n+\t\t\t$node2Id = $node2.Id;\n+\t\t\t\n+\t\t\t#ASSERT Nodes creation\n+\t\t\t$node1 | Should Not Be $null;\n+\t\t\t$node1.Id | Should Not Be $null;\n+\t\t\t$node1.Name | Should Be $nodeName1;\n+\t\t\t$node2 | Should Not Be $null;\n+\t\t\t$node2.Id | Should Not Be $null;\n+\t\t\t$node2.Name | Should Be $nodeName2;\n+\t\t\t$childrenOfNode1 = $svc.Core.LoadProperty($node1, 'Children') | Select;\n+\t\t\t$childrenOfNode1 | Should be $null;\n+\t\t\t$childrenOfNode2 = $svc.Core.LoadProperty($node2, 'Children') | Select;\n+\t\t\t$childrenOfNode2 | Should be $null;\n+\t\t\t\n+\t\t\t#ACT set node1 as parent of node2\n+\t\t\t$svc.Core.SetLink($node2, \"Parent\", $node1);\n+\t\t\t$updateResult = $svc.Core.SaveChanges();\n+\t\t\t\n+\t\t\t#Assert\n+\t\t\t$parentNodeReload = $svc.Core.LoadProperty($node2, 'Parent') | Select;\n+\t\t\t$childNodeReload = $svc.Core.LoadProperty($node1, 'Children') | Select;\n+\t\t\t\n+\t\t\t#ASSERT\n+\t\t\t$updateResult.StatusCode | Should Be 204;\n+\t\t\t$parentNodeReload.Id | Should Be $node1.Id;\n+\t\t\t$childNodeReload.Id | Should Be $node2.Id;\n+\t\t\t\n+\t\t\t#Reload the service connection and the node2 so we assert the parentId change\n+\t\t\t$svc = Enter-Appclusive;\n+\t\t\t$node2Reload = Get-ApcNode -id $node2Id;","path":"it/Node.Tests.ps1","position":413,"original_position":413,"commit_id":"0536d1f3bb73efd7e59deb1546bec7db6ad93693","original_commit_id":"0536d1f3bb73efd7e59deb1546bec7db6ad93693","user":{"login":"rufer7","id":5937292,"avatar_url":"https://avatars.githubusercontent.com/u/5937292?v=3","gravatar_id":"","url":"https://api.github.com/users/rufer7","html_url":"https://github.com/rufer7","followers_url":"https://api.github.com/users/rufer7/followers","following_url":"https://api.github.com/users/rufer7/following{/other_user}","gists_url":"https://api.github.com/users/rufer7/gists{/gist_id}","starred_url":"https://api.github.com/users/rufer7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rufer7/subscriptions","organizations_url":"https://api.github.com/users/rufer7/orgs","repos_url":"https://api.github.com/users/rufer7/repos","events_url":"https://api.github.com/users/rufer7/events{/privacy}","received_events_url":"https://api.github.com/users/rufer7/received_events","type":"User","site_admin":false},"body":"@pbimpisidis pass -svc $svc","created_at":"2016-08-24T07:57:07Z","updated_at":"2016-08-24T07:57:07Z","html_url":"https://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client/pull/74#discussion_r76009857","pull_request_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls/74","_links":{"self":{"href":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls/comments/76009857"},"html":{"href":"https://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client/pull/74#discussion_r76009857"},"pull_request":{"href":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls/74","id":82391289,"html_url":"https://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client/pull/74","diff_url":"https://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client/pull/74.diff","patch_url":"https://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client/pull/74.patch","issue_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/issues/74","number":74,"state":"open","locked":false,"title":"Feature/#47 node","user":{"login":"pbimpisidis","id":18218581,"avatar_url":"https://avatars.githubusercontent.com/u/18218581?v=3","gravatar_id":"","url":"https://api.github.com/users/pbimpisidis","html_url":"https://github.com/pbimpisidis","followers_url":"https://api.github.com/users/pbimpisidis/followers","following_url":"https://api.github.com/users/pbimpisidis/following{/other_user}","gists_url":"https://api.github.com/users/pbimpisidis/gists{/gist_id}","starred_url":"https://api.github.com/users/pbimpisidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbimpisidis/subscriptions","organizations_url":"https://api.github.com/users/pbimpisidis/orgs","repos_url":"https://api.github.com/users/pbimpisidis/repos","events_url":"https://api.github.com/users/pbimpisidis/events{/privacy}","received_events_url":"https://api.github.com/users/pbimpisidis/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-23T15:50:36Z","updated_at":"2016-08-24T07:57:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"rufer7","id":5937292,"avatar_url":"https://avatars.githubusercontent.com/u/5937292?v=3","gravatar_id":"","url":"https://api.github.com/users/rufer7","html_url":"https://github.com/rufer7","followers_url":"https://api.github.com/users/rufer7/followers","following_url":"https://api.github.com/users/rufer7/following{/other_user}","gists_url":"https://api.github.com/users/rufer7/gists{/gist_id}","starred_url":"https://api.github.com/users/rufer7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rufer7/subscriptions","organizations_url":"https://api.github.com/users/rufer7/orgs","repos_url":"https://api.github.com/users/rufer7/repos","events_url":"https://api.github.com/users/rufer7/events{/privacy}","received_events_url":"https://api.github.com/users/rufer7/received_events","type":"User","site_admin":false},"assignees":[{"login":"rufer7","id":5937292,"avatar_url":"https://avatars.githubusercontent.com/u/5937292?v=3","gravatar_id":"","url":"https://api.github.com/users/rufer7","html_url":"https://github.com/rufer7","followers_url":"https://api.github.com/users/rufer7/followers","following_url":"https://api.github.com/users/rufer7/following{/other_user}","gists_url":"https://api.github.com/users/rufer7/gists{/gist_id}","starred_url":"https://api.github.com/users/rufer7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rufer7/subscriptions","organizations_url":"https://api.github.com/users/rufer7/orgs","repos_url":"https://api.github.com/users/rufer7/repos","events_url":"https://api.github.com/users/rufer7/events{/privacy}","received_events_url":"https://api.github.com/users/rufer7/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls/74/commits","review_comments_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls/74/comments","review_comment_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/issues/74/comments","statuses_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/statuses/0536d1f3bb73efd7e59deb1546bec7db6ad93693","head":{"label":"dfensgmbh:feature/#47-Node","ref":"feature/#47-Node","sha":"0536d1f3bb73efd7e59deb1546bec7db6ad93693","user":{"login":"dfensgmbh","id":8310404,"avatar_url":"https://avatars.githubusercontent.com/u/8310404?v=3","gravatar_id":"","url":"https://api.github.com/users/dfensgmbh","html_url":"https://github.com/dfensgmbh","followers_url":"https://api.github.com/users/dfensgmbh/followers","following_url":"https://api.github.com/users/dfensgmbh/following{/other_user}","gists_url":"https://api.github.com/users/dfensgmbh/gists{/gist_id}","starred_url":"https://api.github.com/users/dfensgmbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfensgmbh/subscriptions","organizations_url":"https://api.github.com/users/dfensgmbh/orgs","repos_url":"https://api.github.com/users/dfensgmbh/repos","events_url":"https://api.github.com/users/dfensgmbh/events{/privacy}","received_events_url":"https://api.github.com/users/dfensgmbh/received_events","type":"Organization","site_admin":false},"repo":{"id":44050442,"name":"biz.dfch.PS.Appclusive.Client","full_name":"dfensgmbh/biz.dfch.PS.Appclusive.Client","owner":{"login":"dfensgmbh","id":8310404,"avatar_url":"https://avatars.githubusercontent.com/u/8310404?v=3","gravatar_id":"","url":"https://api.github.com/users/dfensgmbh","html_url":"https://github.com/dfensgmbh","followers_url":"https://api.github.com/users/dfensgmbh/followers","following_url":"https://api.github.com/users/dfensgmbh/following{/other_user}","gists_url":"https://api.github.com/users/dfensgmbh/gists{/gist_id}","starred_url":"https://api.github.com/users/dfensgmbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfensgmbh/subscriptions","organizations_url":"https://api.github.com/users/dfensgmbh/orgs","repos_url":"https://api.github.com/users/dfensgmbh/repos","events_url":"https://api.github.com/users/dfensgmbh/events{/privacy}","received_events_url":"https://api.github.com/users/dfensgmbh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client","description":"PowerShell module for the Appclusive Framework and Middleware","fork":false,"url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client","forks_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/forks","keys_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/teams","hooks_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/hooks","issue_events_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/issues/events{/number}","events_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/events","assignees_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/assignees{/user}","branches_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/branches{/branch}","tags_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/tags","blobs_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/statuses/{sha}","languages_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/languages","stargazers_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/stargazers","contributors_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/contributors","subscribers_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/subscribers","subscription_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/subscription","commits_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/contents/{+path}","compare_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/merges","archive_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/downloads","issues_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/issues{/number}","pulls_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls{/number}","milestones_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/milestones{/number}","notifications_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/labels{/name}","releases_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/releases{/id}","deployments_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/deployments","created_at":"2015-10-11T12:01:02Z","updated_at":"2016-07-23T18:34:59Z","pushed_at":"2016-08-24T07:36:27Z","git_url":"git://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client.git","ssh_url":"git@github.com:dfensgmbh/biz.dfch.PS.Appclusive.Client.git","clone_url":"https://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client.git","svn_url":"https://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client","homepage":"http://appclusive.net","size":5467,"stargazers_count":1,"watchers_count":1,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":1,"default_branch":"develop"}},"base":{"label":"dfensgmbh:develop","ref":"develop","sha":"9603b71b25242e1bfe5778c3358cdbaa78cccf7c","user":{"login":"dfensgmbh","id":8310404,"avatar_url":"https://avatars.githubusercontent.com/u/8310404?v=3","gravatar_id":"","url":"https://api.github.com/users/dfensgmbh","html_url":"https://github.com/dfensgmbh","followers_url":"https://api.github.com/users/dfensgmbh/followers","following_url":"https://api.github.com/users/dfensgmbh/following{/other_user}","gists_url":"https://api.github.com/users/dfensgmbh/gists{/gist_id}","starred_url":"https://api.github.com/users/dfensgmbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfensgmbh/subscriptions","organizations_url":"https://api.github.com/users/dfensgmbh/orgs","repos_url":"https://api.github.com/users/dfensgmbh/repos","events_url":"https://api.github.com/users/dfensgmbh/events{/privacy}","received_events_url":"https://api.github.com/users/dfensgmbh/received_events","type":"Organization","site_admin":false},"repo":{"id":44050442,"name":"biz.dfch.PS.Appclusive.Client","full_name":"dfensgmbh/biz.dfch.PS.Appclusive.Client","owner":{"login":"dfensgmbh","id":8310404,"avatar_url":"https://avatars.githubusercontent.com/u/8310404?v=3","gravatar_id":"","url":"https://api.github.com/users/dfensgmbh","html_url":"https://github.com/dfensgmbh","followers_url":"https://api.github.com/users/dfensgmbh/followers","following_url":"https://api.github.com/users/dfensgmbh/following{/other_user}","gists_url":"https://api.github.com/users/dfensgmbh/gists{/gist_id}","starred_url":"https://api.github.com/users/dfensgmbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfensgmbh/subscriptions","organizations_url":"https://api.github.com/users/dfensgmbh/orgs","repos_url":"https://api.github.com/users/dfensgmbh/repos","events_url":"https://api.github.com/users/dfensgmbh/events{/privacy}","received_events_url":"https://api.github.com/users/dfensgmbh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client","description":"PowerShell module for the Appclusive Framework and Middleware","fork":false,"url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client","forks_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/forks","keys_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/teams","hooks_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/hooks","issue_events_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/issues/events{/number}","events_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/events","assignees_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/assignees{/user}","branches_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/branches{/branch}","tags_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/tags","blobs_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/statuses/{sha}","languages_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/languages","stargazers_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/stargazers","contributors_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/contributors","subscribers_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/subscribers","subscription_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/subscription","commits_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/contents/{+path}","compare_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/merges","archive_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/downloads","issues_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/issues{/number}","pulls_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls{/number}","milestones_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/milestones{/number}","notifications_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/labels{/name}","releases_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/releases{/id}","deployments_url":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/deployments","created_at":"2015-10-11T12:01:02Z","updated_at":"2016-07-23T18:34:59Z","pushed_at":"2016-08-24T07:36:27Z","git_url":"git://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client.git","ssh_url":"git@github.com:dfensgmbh/biz.dfch.PS.Appclusive.Client.git","clone_url":"https://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client.git","svn_url":"https://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client","homepage":"http://appclusive.net","size":5467,"stargazers_count":1,"watchers_count":1,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls/74"},"html":{"href":"https://github.com/dfensgmbh/biz.dfch.PS.Appclusive.Client/pull/74"},"issue":{"href":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/issues/74"},"comments":{"href":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/dfensgmbh/biz.dfch.PS.Appclusive.Client/statuses/0536d1f3bb73efd7e59deb1546bec7db6ad93693"}}}}
{"actor":{"display_login":"rufer7"}}