public function MailchimpAPITest::testApi in Mailchimp 8
Same name and namespace in other branches
- 2.x tests/src/Functional/MailchimpAPITest.php \Drupal\Tests\mailchimp\Functional\MailchimpAPITest::testApi()
Tests that the test API has been loaded.
File
- tests/
src/ Functional/ MailchimpAPITest.php, line 15
Class
- MailchimpAPITest
- Tests core API functionality.
Namespace
Drupal\Tests\mailchimp\FunctionalCode
public function testApi() {
$mailchimp_api = mailchimp_get_api_object();
$this
->assertNotNull($mailchimp_api);
$this
->assertEqual(get_class($mailchimp_api), 'Mailchimp\\Tests\\Mailchimp');
}