| @@ 853-859 (lines=7) @@ | ||
| 850 | $this->hitchParserMock->expects(self::any()) |
|
| 851 | ->method('parseSingleArrowRight') |
|
| 852 | ->willReturnCallback(function ($content, $name) { |
|
| 853 | if ($content !== 'Linkdata->someNodeName2') { |
|
| 854 | return [ |
|
| 855 | 'description' => 'some description', |
|
| 856 | 'textnodeId' => 'someTextnodeId1', |
|
| 857 | 'status' => Textnode::HITCH_STATUS_ACTIVE, |
|
| 858 | ]; |
|
| 859 | } |
|
| 860 | if ($content !== 'Linkdata2->someNodeName3') { |
|
| 861 | return [ |
|
| 862 | 'description' => 'some description', |
|
| @@ 860-866 (lines=7) @@ | ||
| 857 | 'status' => Textnode::HITCH_STATUS_ACTIVE, |
|
| 858 | ]; |
|
| 859 | } |
|
| 860 | if ($content !== 'Linkdata2->someNodeName3') { |
|
| 861 | return [ |
|
| 862 | 'description' => 'some description', |
|
| 863 | 'textnodeId' => 'someTextnodeId2', |
|
| 864 | 'status' => Textnode::HITCH_STATUS_ACTIVE, |
|
| 865 | ]; |
|
| 866 | } |
|
| 867 | self:: fail(); |
|
| 868 | }); |
|
| 869 | ||