Package de.hybris.y2ysync.task.runner
Class DataHubRequestTaskRunnerTest
- java.lang.Object
-
- de.hybris.y2ysync.task.runner.DataHubRequestTaskRunnerTest
-
@UnitTest public class DataHubRequestTaskRunnerTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_DATAHUB_URL
static java.lang.String
TEST_DATAHUB_URL
static java.lang.String
TEST_EXECUTION_ID
-
Constructor Summary
Constructors Constructor Description DataHubRequestTaskRunnerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
shouldSaveRelatedCronJobWithResultErrorWhenDataHubUrlCannotBeDetermined()
void
shouldUseDataHubUrlFromPropertiesIfY2YSyncJobHasntConfiguredItDirectly()
void
shouldUseDataHubUrlFromY2YSyncJobIfPresent()
-
-
-
Field Detail
-
TEST_EXECUTION_ID
public static final java.lang.String TEST_EXECUTION_ID
- See Also:
- Constant Field Values
-
TEST_DATAHUB_URL
public static final java.lang.String TEST_DATAHUB_URL
- See Also:
- Constant Field Values
-
DEFAULT_DATAHUB_URL
public static final java.lang.String DEFAULT_DATAHUB_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldUseDataHubUrlFromY2YSyncJobIfPresent
public void shouldUseDataHubUrlFromY2YSyncJobIfPresent() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldUseDataHubUrlFromPropertiesIfY2YSyncJobHasntConfiguredItDirectly
public void shouldUseDataHubUrlFromPropertiesIfY2YSyncJobHasntConfiguredItDirectly() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldSaveRelatedCronJobWithResultErrorWhenDataHubUrlCannotBeDetermined
public void shouldSaveRelatedCronJobWithResultErrorWhenDataHubUrlCannotBeDetermined() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-