Class C4CCustomerServiceImplTest
- java.lang.Object
-
- de.hybris.platform.customerticketingc4cintegration.service.C4CCustomerServiceImplTest
-
@UnitTest public class C4CCustomerServiceImplTest extends java.lang.ObjectTest class forC4CCustomerServiceImpl
-
-
Constructor Summary
Constructors Constructor Description C4CCustomerServiceImplTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshouldGetContactByExternalId()voidshouldGetIndividualCustomerByExternalId()voidshouldThrowC4CServiceExceptionWhenEmptyContact()voidshouldThrowC4CServiceExceptionWhenEmptyIndividualCustomer()voidshouldThrowExceptionWhenRestClientExceptionDuringGetContact()voidshouldThrowExceptionWhenRestClientExceptionDuringGetCustomer()voidstartUp()
-
-
-
Method Detail
-
startUp
public void startUp()
-
shouldGetIndividualCustomerByExternalId
public void shouldGetIndividualCustomerByExternalId() throws C4CServiceException- Throws:
C4CServiceException
-
shouldThrowC4CServiceExceptionWhenEmptyIndividualCustomer
public void shouldThrowC4CServiceExceptionWhenEmptyIndividualCustomer() throws C4CServiceException- Throws:
C4CServiceException
-
shouldThrowExceptionWhenRestClientExceptionDuringGetCustomer
public void shouldThrowExceptionWhenRestClientExceptionDuringGetCustomer() throws C4CServiceException- Throws:
C4CServiceException
-
shouldGetContactByExternalId
public void shouldGetContactByExternalId() throws C4CServiceException- Throws:
C4CServiceException
-
shouldThrowC4CServiceExceptionWhenEmptyContact
public void shouldThrowC4CServiceExceptionWhenEmptyContact() throws C4CServiceException- Throws:
C4CServiceException
-
shouldThrowExceptionWhenRestClientExceptionDuringGetContact
public void shouldThrowExceptionWhenRestClientExceptionDuringGetContact() throws C4CServiceException- Throws:
C4CServiceException
-
-