Fix eclipse parser mocking.