Goal
includes/specials/SpecialKnowledgeGraphDesigner.php:87-89 — a trivial one-liner, but currently the only untested method in this otherwise well-tested class (see tests/phpunit/Unit/specials/SpecialKnowledgeGraphDesignerTest.php).
Test scenario
getGroupName() returns 'knowledgegraph' (reflection needed, since it's protected).
Mocking pattern
No mocking needed; add this to the existing SpecialKnowledgeGraphDesignerTest.php following its current style.
Part of the "raise PHP coverage to ~70%" effort.
Goal
includes/specials/SpecialKnowledgeGraphDesigner.php:87-89— a trivial one-liner, but currently the only untested method in this otherwise well-tested class (seetests/phpunit/Unit/specials/SpecialKnowledgeGraphDesignerTest.php).Test scenario
getGroupName()returns'knowledgegraph'(reflection needed, since it'sprotected).Mocking pattern
No mocking needed; add this to the existing
SpecialKnowledgeGraphDesignerTest.phpfollowing its current style.Part of the "raise PHP coverage to ~70%" effort.