public class DummyApiAvailableTestResource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
KEY_AVAILABLE |
static String |
KEY_UNAVAILABLE |
static String |
STATIC_CONTENT |
static String |
TITLE |
Constructor and Description |
---|
DummyApiAvailableTestResource(CustomContentManager customContentManager,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate) |
Modifier and Type | Method and Description |
---|---|
Content |
content()
A rest resource that produces a static content object to test serialization, see RestApiContentAcceptanceTest
|
String |
doCreateAvailable() |
String |
doCreateUnavailable() |
String |
exception(int status) |
public static final String TITLE
public static final String KEY_AVAILABLE
public static final String KEY_UNAVAILABLE
public static final String STATIC_CONTENT
public DummyApiAvailableTestResource(CustomContentManager customContentManager, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)
public String doCreateAvailable()
public String doCreateUnavailable()
public Content content()
public String exception(int status)
Copyright © 2003–2020 Atlassian. All rights reserved.