@UnitTest public class DefaultB2BCustomerAddressInterceptorTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultB2BCustomerAddressInterceptorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testExportDataIfPhoneIsModified()
Check if the interceptor call the customerExportService
phone number is modified
|
void |
testNoExportDataIfCustomerIDIsNull()
Check if the interceptor does not call the customerExportService
customerId is set to null
|
void |
testNoExportDataIfCustomerIDIsSpace()
Check if the interceptor does not call the customerExportService
customerId is set to space
|
void |
testNoExportDataIfPhoneIsNotodified()
Check if the interceptor does not call the customerExportService
phone number is not modified
|
void |
testNoExportDataIfPublicKeyIsInvalid()
Check if the interceptor does not call the customerExportService
generated public key is set not equal addressModel.getPublicKey()
|
public DefaultB2BCustomerAddressInterceptorTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testExportDataIfPhoneIsModified()
throws InterceptorException
InterceptorExceptionpublic void testNoExportDataIfPhoneIsNotodified()
throws InterceptorException
InterceptorExceptionpublic void testNoExportDataIfPublicKeyIsInvalid()
throws InterceptorException
InterceptorExceptionpublic void testNoExportDataIfCustomerIDIsSpace()
throws InterceptorException
InterceptorExceptionpublic void testNoExportDataIfCustomerIDIsNull()
throws InterceptorException
InterceptorExceptionCopyright © 2018 SAP SE. All Rights Reserved.