Class DummyApiAvailableTestResource


  • public class DummyApiAvailableTestResource
    extends Object
    • Constructor Detail

      • DummyApiAvailableTestResource

        public DummyApiAvailableTestResource​(CustomContentManager customContentManager,
                                             com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)
    • Method Detail

      • doCreateAvailable

        public String doCreateAvailable()
      • doCreateUnavailable

        public String doCreateUnavailable()
      • content

        public Content content()
        A rest resource that produces a static content object to test serialization, see RestApiContentAcceptanceTest
        Returns:
        a content object
      • exception

        public String exception​(int status)