Class WebhooksResourceTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.atlassian.crowd.acceptance.tests.rest.service.RestCrowdServiceAcceptanceTestCase
com.atlassian.crowd.acceptance.tests.rest.service.WebhooksResourceTest
All Implemented Interfaces:
junit.framework.Test

public class WebhooksResourceTest extends RestCrowdServiceAcceptanceTestCase
  • Constructor Details

    • WebhooksResourceTest

      public WebhooksResourceTest(String name)
    • WebhooksResourceTest

      public WebhooksResourceTest(String name, RestServer restServer)
  • Method Details

    • testGetNonExistingWebhook

      public void testGetNonExistingWebhook() throws Exception
      Throws:
      Exception
    • testRegisterAndGetWebhook

      public void testRegisterAndGetWebhook() throws Exception
      Throws:
      Exception
    • testRegisterWebhookWithInvalidEndpointUrlShouldFail

      public void testRegisterWebhookWithInvalidEndpointUrlShouldFail() throws Exception
      Throws:
      Exception
    • testRegisterWebhookWithSimpleBody

      public void testRegisterWebhookWithSimpleBody() throws Exception
      Throws:
      Exception
    • testRegisterAndUnregisterWebhook

      public void testRegisterAndUnregisterWebhook() throws Exception
      Throws:
      Exception
    • testUnregisterNonExistingWebhook

      public void testUnregisterNonExistingWebhook() throws Exception
      Throws:
      Exception