magento/magento2 — pull request #755 by Vinai (2014-11-20 08:47:42+00:00)
Title: Fix test assertion

The original assertion simply stubbed the setStructureElementData method on the View\Layout\ScheduledStructure\Helper mock. The method in question is not part of the helper interface but of the View\Layout\ScheduledStructure interface.
The change moves the assertion to the scheduled structure mock and changes the expectation from any() to once().