public function MailchimpListsTest::testGetLists in Mailchimp 8
Tests library functionality for lists information.
File
- lib/
mailchimp-api-php/ tests/ MailchimpListsTest.php, line 17
Class
- MailchimpListsTest
- Mailchimp Lists test library.
Namespace
Mailchimp\TestsCode
public function testGetLists() {
$mc = new MailchimpLists();
$mc
->getLists();
$this
->assertEquals('GET', $mc
->getClient()->method);
$this
->assertEquals($mc
->getEndpoint() . '/lists', $mc
->getClient()->uri);
}