コード例 #1
0
 /**
  * Tests library functionality for account information.
  */
 public function testGetAccount()
 {
     $mc = new Mailchimp();
     $mc->getAccount();
     $this->assertEquals('GET', $mc->getClient()->method);
     $this->assertEquals($mc->getEndpoint() . '/', $mc->getClient()->uri);
 }