public function ShareaholicCurlMultiShareCountsTest::testRawResponseObject in Share Buttons, Related Posts, Content Analytics - Shareaholic 8
Same name and namespace in other branches
- 7.3 lib/social-share-counts/curl_multi_share_count_test.php \ShareaholicCurlMultiShareCountsTest::testRawResponseObject()
File
- lib/
social-share-counts/ curl_multi_share_count_test.php, line 37
Class
Code
public function testRawResponseObject() {
// test that the class is storing the raw responses
$response = $this->share_count
->get_counts();
$this
->assertNotNull($this->share_count->raw_response, 'The raw response object should not be null');
foreach ($this->services as $service) {
$this
->assertNotNull($this->share_count->raw_response[$service], 'The raw response for ' . $service . ' should not be null');
}
}