Implemented ResourceReader mocking.