Class DefaultTmaSubscribedProductFacadeIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- de.hybris.platform.b2ctelcoservices.commons.BaseCustomerInventoryIntegrationTest
-
- de.hybris.platform.b2ctelcofacades.subscription.impl.DefaultTmaSubscribedProductFacadeIntegrationTest
-
- All Implemented Interfaces:
de.hybris.platform.testframework.JaloSessionHolder
@IntegrationTest public class DefaultTmaSubscribedProductFacadeIntegrationTest extends BaseCustomerInventoryIntegrationTest
-
-
Field Summary
Fields Modifier and Type Field Description protected de.hybris.platform.servicelayer.search.FlexibleSearchServiceflexibleSearchServicestatic java.lang.StringPRODUCT_CATALOGstatic java.lang.StringPRODUCT_CATALOG_VERSIONstatic java.lang.StringSUBSCRIBER_IDENTITY_TEST-
Fields inherited from class de.hybris.platform.b2ctelcoservices.commons.BaseCustomerInventoryIntegrationTest
ACCESS_TYPE, BILLING_ACCOUNT_ID, BILLING_SUBSCRIPTION_ID, BILLING_SYSTEM_ID, CUSTOMER_UID, NON_EXISTENT_ID, PSCV_VALUE, SUBSCRIBED_PRODUCT_ID, SUBSCRIBER_IDENTITY, SUBSCRIBER_IDENTITY1, SUBSCRIBER_IDENTITY2, SUBSCRIBER_IDENTITY3, SUBSCRIPTION_BASES
-
-
Constructor Summary
Constructors Constructor Description DefaultTmaSubscribedProductFacadeIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforASUException()voidforASUProductSpecCharValueInvalid()voidgetServiceUsageUpSellProductsList()voidgetServiceUsageUpSellProductsListIsNull()voidgetServiceUsageUpSellProductsWithSubscriberIdentity()voidgetServiceUsageUpSellProductsWithSubscriberIdentityIsNull()voidgetUpsellProductDataWhenBillingIDisNull()voidgetUpsellProductDataWhenSubscriberIDisNull()voidgetUpsellProductDataWhenSubsIDAndBillIDPresent()voidgetUpsellProductDataWhenSubsIDPresent()voidgetUpsellProductDataWithSubscriberIDisNull()voidtestCreateSubscribedProduct()voidtestDeleteSubscribedProduct()voidtestFindSubscribedProduct()voidtestFindSubscribedProductWithNullId()voidtestGetSubscriptionTermAndPrice()voidtestIsSubscriptionProduct()voidtestUpdateSubscribedProduct()-
Methods inherited from class de.hybris.platform.b2ctelcoservices.commons.BaseCustomerInventoryIntegrationTest
setUp
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
-
-
-
Field Detail
-
PRODUCT_CATALOG
public static final java.lang.String PRODUCT_CATALOG
- See Also:
- Constant Field Values
-
PRODUCT_CATALOG_VERSION
public static final java.lang.String PRODUCT_CATALOG_VERSION
- See Also:
- Constant Field Values
-
SUBSCRIBER_IDENTITY_TEST
public static final java.lang.String SUBSCRIBER_IDENTITY_TEST
- See Also:
- Constant Field Values
-
flexibleSearchService
protected de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService
-
-
Method Detail
-
testCreateSubscribedProduct
public void testCreateSubscribedProduct() throws java.lang.Exception- Throws:
java.lang.Exception
-
testDeleteSubscribedProduct
public void testDeleteSubscribedProduct()
-
testUpdateSubscribedProduct
public void testUpdateSubscribedProduct() throws java.text.ParseException- Throws:
java.text.ParseException
-
testFindSubscribedProduct
public void testFindSubscribedProduct()
-
testFindSubscribedProductWithNullId
public void testFindSubscribedProductWithNullId() throws java.text.ParseException- Throws:
java.text.ParseException
-
getServiceUsageUpSellProductsList
public void getServiceUsageUpSellProductsList() throws de.hybris.platform.subscriptionfacades.exceptions.SubscriptionFacadeException, java.text.ParseException- Throws:
de.hybris.platform.subscriptionfacades.exceptions.SubscriptionFacadeExceptionjava.text.ParseException
-
getServiceUsageUpSellProductsListIsNull
public void getServiceUsageUpSellProductsListIsNull() throws de.hybris.platform.subscriptionfacades.exceptions.SubscriptionFacadeException, java.text.ParseException- Throws:
de.hybris.platform.subscriptionfacades.exceptions.SubscriptionFacadeExceptionjava.text.ParseException
-
getServiceUsageUpSellProductsWithSubscriberIdentity
public void getServiceUsageUpSellProductsWithSubscriberIdentity() throws de.hybris.platform.subscriptionfacades.exceptions.SubscriptionFacadeException, java.text.ParseException- Throws:
de.hybris.platform.subscriptionfacades.exceptions.SubscriptionFacadeExceptionjava.text.ParseException
-
getServiceUsageUpSellProductsWithSubscriberIdentityIsNull
public void getServiceUsageUpSellProductsWithSubscriberIdentityIsNull() throws de.hybris.platform.subscriptionfacades.exceptions.SubscriptionFacadeException, java.text.ParseException- Throws:
de.hybris.platform.subscriptionfacades.exceptions.SubscriptionFacadeExceptionjava.text.ParseException
-
getUpsellProductDataWhenSubsIDAndBillIDPresent
public void getUpsellProductDataWhenSubsIDAndBillIDPresent() throws java.text.ParseException- Throws:
java.text.ParseException
-
getUpsellProductDataWhenSubsIDPresent
public void getUpsellProductDataWhenSubsIDPresent() throws java.text.ParseException- Throws:
java.text.ParseException
-
getUpsellProductDataWhenBillingIDisNull
public void getUpsellProductDataWhenBillingIDisNull()
-
getUpsellProductDataWhenSubscriberIDisNull
public void getUpsellProductDataWhenSubscriberIDisNull()
-
getUpsellProductDataWithSubscriberIDisNull
public void getUpsellProductDataWithSubscriberIDisNull()
-
testIsSubscriptionProduct
public void testIsSubscriptionProduct() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetSubscriptionTermAndPrice
public void testGetSubscriptionTermAndPrice() throws java.lang.Exception- Throws:
java.lang.Exception
-
forASUProductSpecCharValueInvalid
public void forASUProductSpecCharValueInvalid()
-
forASUException
public void forASUException()
-
-