Description
At the end of validateAsType, if the prospective return value does not contain an error, we should call Z1.setIsValidated( true ).
Ideally, we'd be able to use a function call count test to see a reduction in function call complexity as a result of this change.
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- setIsValidated is called on validated objects
- we see a reduction in function call count as a result of this change
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist