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.StringDEFAULT_DATAHUB_URLstatic java.lang.StringTEST_DATAHUB_URLstatic java.lang.StringTEST_EXECUTION_ID
-
Constructor Summary
Constructors Constructor Description DataHubRequestTaskRunnerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldSaveRelatedCronJobWithResultErrorWhenDataHubUrlCannotBeDetermined()voidshouldUseDataHubUrlFromPropertiesIfY2YSyncJobHasntConfiguredItDirectly()voidshouldUseDataHubUrlFromY2YSyncJobIfPresent()
-
-
-
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
-
-