public class TestFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.time.ZoneId |
westCoastTimeZone |
| Constructor and Description |
|---|
TestFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.tiogasolutions.push.common.accounts.Account |
createAccount() |
org.tiogasolutions.push.common.clients.Domain |
createDomain(org.tiogasolutions.push.common.accounts.Account account) |
java.util.List<org.tiogasolutions.push.common.requests.PushRequest> |
createPushRequests_Emails(org.tiogasolutions.push.common.clients.Domain domain) |
java.util.List<org.tiogasolutions.push.common.requests.PushRequest> |
createPushRequests_Notifications(org.tiogasolutions.push.common.clients.Domain domain) |
java.util.List<org.tiogasolutions.push.common.requests.PushRequest> |
createPushRequests(org.tiogasolutions.push.common.clients.Domain domain) |
org.tiogasolutions.push.common.system.Session |
createSession() |
org.tiogasolutions.push.pub.common.UserAgent |
createUserAgent() |
static TestFactory |
get() |
org.tiogasolutions.push.common.accounts.AccountStore |
getAccountStore() |
org.tiogasolutions.push.common.system.DomainDatabaseConfig |
getDatabaseConfig() |
org.tiogasolutions.push.common.accounts.DomainStore |
getDomainStore() |
org.tiogasolutions.push.jackson.CpObjectMapper |
getObjectMapper() |
org.tiogasolutions.push.common.requests.PushRequestStore |
getPushRequestStore() |
org.tiogasolutions.push.common.plugins.PluginContext |
pluginContext(TestFactory testFactory) |
public TestFactory()
throws java.lang.Exception
java.lang.Exceptionpublic static TestFactory get() throws java.lang.Exception
java.lang.Exceptionpublic org.tiogasolutions.push.common.system.DomainDatabaseConfig getDatabaseConfig()
public org.tiogasolutions.push.jackson.CpObjectMapper getObjectMapper()
public org.tiogasolutions.push.common.accounts.AccountStore getAccountStore()
public org.tiogasolutions.push.common.requests.PushRequestStore getPushRequestStore()
public org.tiogasolutions.push.common.accounts.DomainStore getDomainStore()
public org.tiogasolutions.push.pub.common.UserAgent createUserAgent()
public org.tiogasolutions.push.common.accounts.Account createAccount()
public org.tiogasolutions.push.common.clients.Domain createDomain(org.tiogasolutions.push.common.accounts.Account account)
public java.util.List<org.tiogasolutions.push.common.requests.PushRequest> createPushRequests_Notifications(org.tiogasolutions.push.common.clients.Domain domain)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.List<org.tiogasolutions.push.common.requests.PushRequest> createPushRequests_Emails(org.tiogasolutions.push.common.clients.Domain domain)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.List<org.tiogasolutions.push.common.requests.PushRequest> createPushRequests(org.tiogasolutions.push.common.clients.Domain domain)
throws java.lang.Exception
java.lang.Exceptionpublic org.tiogasolutions.push.common.plugins.PluginContext pluginContext(TestFactory testFactory)
public org.tiogasolutions.push.common.system.Session createSession()