public class TestUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TestUtils.TestWrapper |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY |
Constructor and Description |
---|
TestUtils() |
Modifier and Type | Method and Description |
---|---|
static <T extends TransientObject> |
convert(TransientObject o,
java.lang.Class<T> to) |
static com.google.gson.Gson |
getGson() |
static Credentials |
getTestUser() |
static javax.ws.rs.client.Entity<java.lang.String> |
getTestUserEntity() |
static TestUtils.TestWrapper |
setUp() |
static javax.ws.rs.client.Entity<java.lang.String> |
toEntity(java.lang.Object o) |
public static final java.lang.String KEY
public static TestUtils.TestWrapper setUp()
public static Credentials getTestUser()
public static javax.ws.rs.client.Entity<java.lang.String> toEntity(java.lang.Object o)
public static javax.ws.rs.client.Entity<java.lang.String> getTestUserEntity() throws java.lang.Exception
java.lang.Exception
public static <T extends TransientObject> T convert(TransientObject o, java.lang.Class<T> to)
public static com.google.gson.Gson getGson()