Postmark\Tests\PostmarkClientBounceTest::testClientCanGetBounce PHP Méthode

testClientCanGetBounce() public méthode

    function testClientCanGetBounce()
    {
        $tk = parent::$testKeys;
        $client = new PostmarkClient($tk->READ_SELENIUM_TEST_SERVER_TOKEN, $tk->TEST_TIMEOUT);
        $bounces = $client->getBounces(10, 0);
        $id = $bounces->Bounces[0]['ID'];
        $bounce = $client->getBounce($id);
        $this->assertNotEmpty($bounce);
    }