use get_mock_resource