mocking for rtd