コード例 #1
0
 public function testDeleteMailingListReturnsCorrectData()
 {
     $mailingList = new MailingList();
     $mailingList->setId(1);
     $this->setMockResponse($this->client, array('mailing-lists/deleteMailingList'));
     $result = $this->client->deleteMailingList($mailingList);
     $this->assertInternalType('boolean', $result);
     $this->assertEquals(true, $result);
 }