Package de.hybris.platform.fraud.jalo
Class FrauddetectionTest
- java.lang.Object
-
- All Implemented Interfaces:
JaloSessionHolder
public class FrauddetectionTest extends ServicelayerTransactionalTest
JUnit Tests for the Frauddetection extension
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description FrauddetectionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OrderModel
placeOrder(UserModel user)
protected OrderModel
placeOrder(UserModel user, java.lang.String email)
protected OrderModel
placeOrder(UserModel user, java.lang.String email, java.lang.String country1, java.lang.String country2)
protected OrderModel
placeOrder(UserModel user, java.lang.String email, java.lang.String country1, java.lang.String country2, ProductModel product)
void
setUp()
protected void
setupUser(java.lang.String email)
void
testAddress()
void
testBlackList()
void
testOrderEntries()
void
testPriceyOrder()
-
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
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
setupUser
protected void setupUser(java.lang.String email)
-
testBlackList
public void testBlackList() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPriceyOrder
public void testPriceyOrder() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAddress
public void testAddress() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testOrderEntries
public void testOrderEntries() throws java.lang.Exception
- Throws:
java.lang.Exception
-
placeOrder
protected OrderModel placeOrder(UserModel user, java.lang.String email, java.lang.String country1, java.lang.String country2, ProductModel product) throws java.lang.Exception
- Throws:
java.lang.Exception
-
placeOrder
protected OrderModel placeOrder(UserModel user) throws java.lang.Exception
- Throws:
java.lang.Exception
-
placeOrder
protected OrderModel placeOrder(UserModel user, java.lang.String email) throws java.lang.Exception
- Throws:
java.lang.Exception
-
placeOrder
protected OrderModel placeOrder(UserModel user, java.lang.String email, java.lang.String country1, java.lang.String country2) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-