示例#1
0
 public function testSetFolderId()
 {
     $client = $this->getClient();
     $mailClient = new MailAPI();
     $mailClient->setClient($client->getClient());
     $mailClient->setFolderId($client->getFolderId());
     $folder = $client->getFolderByFolderId($mailClient->getFolderId()->getId());
     $this->assertEquals('Test', $folder->getDisplayName());
 }