A mock for dR API