stubbing Sunlight API consumer.