WebhookControllerApiTest
extends TestCase
in package
WebhookControllerApiTest Class Doc Comment
Tags
Table of Contents
- setUp() : void
- Setup before running each test case
- setUpBeforeClass() : void
- Setup before running any test cases
- tearDown() : void
- Clean up after running each test case
- tearDownAfterClass() : void
- Clean up after running all test cases
- testCreateAccountWebhook() : mixed
- Test case for createAccountWebhook
- testCreateWebhook() : mixed
- Test case for createWebhook
- testCreateWebhookForPhoneNumber() : mixed
- Test case for createWebhookForPhoneNumber
- testDeleteAllWebhooks() : mixed
- Test case for deleteAllWebhooks
- testDeleteWebhook() : mixed
- Test case for deleteWebhook
- testDeleteWebhookById() : mixed
- Test case for deleteWebhookById
- testGetAllAccountWebhooks() : mixed
- Test case for getAllAccountWebhooks
- testGetAllWebhookResults() : mixed
- Test case for getAllWebhookResults
- testGetAllWebhooks() : mixed
- Test case for getAllWebhooks
- testGetInboxWebhooksPaginated() : mixed
- Test case for getInboxWebhooksPaginated
- testGetJsonSchemaForWebhookEvent() : mixed
- Test case for getJsonSchemaForWebhookEvent
- testGetJsonSchemaForWebhookPayload() : mixed
- Test case for getJsonSchemaForWebhookPayload
- testGetPhoneNumberWebhooksPaginated() : mixed
- Test case for getPhoneNumberWebhooksPaginated
- testGetTestWebhookPayload() : mixed
- Test case for getTestWebhookPayload
- testGetTestWebhookPayloadBounce() : mixed
- Test case for getTestWebhookPayloadBounce
- testGetTestWebhookPayloadBounceRecipient() : mixed
- Test case for getTestWebhookPayloadBounceRecipient
- testGetTestWebhookPayloadDeliveryStatus() : mixed
- Test case for getTestWebhookPayloadDeliveryStatus
- testGetTestWebhookPayloadEmailOpened() : mixed
- Test case for getTestWebhookPayloadEmailOpened
- testGetTestWebhookPayloadEmailRead() : mixed
- Test case for getTestWebhookPayloadEmailRead
- testGetTestWebhookPayloadForWebhook() : mixed
- Test case for getTestWebhookPayloadForWebhook
- testGetTestWebhookPayloadNewAttachment() : mixed
- Test case for getTestWebhookPayloadNewAttachment
- testGetTestWebhookPayloadNewContact() : mixed
- Test case for getTestWebhookPayloadNewContact
- testGetTestWebhookPayloadNewEmail() : mixed
- Test case for getTestWebhookPayloadNewEmail
- testGetTestWebhookPayloadNewSms() : mixed
- Test case for getTestWebhookPayloadNewSms
- testGetWebhook() : mixed
- Test case for getWebhook
- testGetWebhookResult() : mixed
- Test case for getWebhookResult
- testGetWebhookResults() : mixed
- Test case for getWebhookResults
- testGetWebhookResultsCount() : mixed
- Test case for getWebhookResultsCount
- testGetWebhookResultsUnseenErrorCount() : mixed
- Test case for getWebhookResultsUnseenErrorCount
- testGetWebhooks() : mixed
- Test case for getWebhooks
- testRedriveAllWebhookResults() : mixed
- Test case for redriveAllWebhookResults
- testRedriveWebhookResult() : mixed
- Test case for redriveWebhookResult
- testSendTestData() : mixed
- Test case for sendTestData
- testUpdateWebhookHeaders() : mixed
- Test case for updateWebhookHeaders
- testVerifyWebhookSignature() : mixed
- Test case for verifyWebhookSignature
- testWaitForWebhookResults() : mixed
- Test case for waitForWebhookResults
Methods
setUp()
Setup before running each test case
public
setUp() : void
Return values
void —setUpBeforeClass()
Setup before running any test cases
public
static setUpBeforeClass() : void
Return values
void —tearDown()
Clean up after running each test case
public
tearDown() : void
Return values
void —tearDownAfterClass()
Clean up after running all test cases
public
static tearDownAfterClass() : void
Return values
void —testCreateAccountWebhook()
Test case for createAccountWebhook
public
testCreateAccountWebhook() : mixed
Attach a WebHook URL to an inbox.
Return values
mixed —testCreateWebhook()
Test case for createWebhook
public
testCreateWebhook() : mixed
Attach a WebHook URL to an inbox.
Return values
mixed —testCreateWebhookForPhoneNumber()
Test case for createWebhookForPhoneNumber
public
testCreateWebhookForPhoneNumber() : mixed
Attach a WebHook URL to a phone number.
Return values
mixed —testDeleteAllWebhooks()
Test case for deleteAllWebhooks
public
testDeleteAllWebhooks() : mixed
Delete all webhooks.
Return values
mixed —testDeleteWebhook()
Test case for deleteWebhook
public
testDeleteWebhook() : mixed
Delete and disable a Webhook for an Inbox.
Return values
mixed —testDeleteWebhookById()
Test case for deleteWebhookById
public
testDeleteWebhookById() : mixed
Delete a webhook.
Return values
mixed —testGetAllAccountWebhooks()
Test case for getAllAccountWebhooks
public
testGetAllAccountWebhooks() : mixed
List account webhooks Paginated.
Return values
mixed —testGetAllWebhookResults()
Test case for getAllWebhookResults
public
testGetAllWebhookResults() : mixed
Get results for all webhooks.
Return values
mixed —testGetAllWebhooks()
Test case for getAllWebhooks
public
testGetAllWebhooks() : mixed
List Webhooks Paginated.
Return values
mixed —testGetInboxWebhooksPaginated()
Test case for getInboxWebhooksPaginated
public
testGetInboxWebhooksPaginated() : mixed
Get paginated webhooks for an Inbox.
Return values
mixed —testGetJsonSchemaForWebhookEvent()
Test case for getJsonSchemaForWebhookEvent
public
testGetJsonSchemaForWebhookEvent() : mixed
.
Return values
mixed —testGetJsonSchemaForWebhookPayload()
Test case for getJsonSchemaForWebhookPayload
public
testGetJsonSchemaForWebhookPayload() : mixed
.
Return values
mixed —testGetPhoneNumberWebhooksPaginated()
Test case for getPhoneNumberWebhooksPaginated
public
testGetPhoneNumberWebhooksPaginated() : mixed
Get paginated webhooks for a phone number.
Return values
mixed —testGetTestWebhookPayload()
Test case for getTestWebhookPayload
public
testGetTestWebhookPayload() : mixed
.
Return values
mixed —testGetTestWebhookPayloadBounce()
Test case for getTestWebhookPayloadBounce
public
testGetTestWebhookPayloadBounce() : mixed
.
Return values
mixed —testGetTestWebhookPayloadBounceRecipient()
Test case for getTestWebhookPayloadBounceRecipient
public
testGetTestWebhookPayloadBounceRecipient() : mixed
.
Return values
mixed —testGetTestWebhookPayloadDeliveryStatus()
Test case for getTestWebhookPayloadDeliveryStatus
public
testGetTestWebhookPayloadDeliveryStatus() : mixed
Get webhook test payload for delivery status event.
Return values
mixed —testGetTestWebhookPayloadEmailOpened()
Test case for getTestWebhookPayloadEmailOpened
public
testGetTestWebhookPayloadEmailOpened() : mixed
.
Return values
mixed —testGetTestWebhookPayloadEmailRead()
Test case for getTestWebhookPayloadEmailRead
public
testGetTestWebhookPayloadEmailRead() : mixed
.
Return values
mixed —testGetTestWebhookPayloadForWebhook()
Test case for getTestWebhookPayloadForWebhook
public
testGetTestWebhookPayloadForWebhook() : mixed
.
Return values
mixed —testGetTestWebhookPayloadNewAttachment()
Test case for getTestWebhookPayloadNewAttachment
public
testGetTestWebhookPayloadNewAttachment() : mixed
Get webhook test payload for new attachment event.
Return values
mixed —testGetTestWebhookPayloadNewContact()
Test case for getTestWebhookPayloadNewContact
public
testGetTestWebhookPayloadNewContact() : mixed
Get webhook test payload for new contact event.
Return values
mixed —testGetTestWebhookPayloadNewEmail()
Test case for getTestWebhookPayloadNewEmail
public
testGetTestWebhookPayloadNewEmail() : mixed
Get webhook test payload for new email event.
Return values
mixed —testGetTestWebhookPayloadNewSms()
Test case for getTestWebhookPayloadNewSms
public
testGetTestWebhookPayloadNewSms() : mixed
Get webhook test payload for new sms event.
Return values
mixed —testGetWebhook()
Test case for getWebhook
public
testGetWebhook() : mixed
Get a webhook.
Return values
mixed —testGetWebhookResult()
Test case for getWebhookResult
public
testGetWebhookResult() : mixed
Get a webhook result for a webhook.
Return values
mixed —testGetWebhookResults()
Test case for getWebhookResults
public
testGetWebhookResults() : mixed
Get a webhook results for a webhook.
Return values
mixed —testGetWebhookResultsCount()
Test case for getWebhookResultsCount
public
testGetWebhookResultsCount() : mixed
Get a webhook results count for a webhook.
Return values
mixed —testGetWebhookResultsUnseenErrorCount()
Test case for getWebhookResultsUnseenErrorCount
public
testGetWebhookResultsUnseenErrorCount() : mixed
Get count of unseen webhook results with error status.
Return values
mixed —testGetWebhooks()
Test case for getWebhooks
public
testGetWebhooks() : mixed
Get all webhooks for an Inbox.
Return values
mixed —testRedriveAllWebhookResults()
Test case for redriveAllWebhookResults
public
testRedriveAllWebhookResults() : mixed
Redrive all webhook results that have failed status.
Return values
mixed —testRedriveWebhookResult()
Test case for redriveWebhookResult
public
testRedriveWebhookResult() : mixed
Get a webhook result and try to resend the original webhook payload.
Return values
mixed —testSendTestData()
Test case for sendTestData
public
testSendTestData() : mixed
Send webhook test data.
Return values
mixed —testUpdateWebhookHeaders()
Test case for updateWebhookHeaders
public
testUpdateWebhookHeaders() : mixed
Update a webhook request headers.
Return values
mixed —testVerifyWebhookSignature()
Test case for verifyWebhookSignature
public
testVerifyWebhookSignature() : mixed
Verify a webhook payload signature.
Return values
mixed —testWaitForWebhookResults()
Test case for waitForWebhookResults
public
testWaitForWebhookResults() : mixed
Wait for webhook results for a webhook.