TutorialDi: getDiArray() now protected for better mocking.