use of com.adobe.experiencecloud.ecid.visitor.CustomerState in project target-java-sdk by adobe.
the class TargetDeliveryRequestTest method validateCustomerId.
private void validateCustomerId(Map<String, CustomerState> customerIdMap, List<CustomerId> customerIds) {
assertEquals(customerIdMap.size(), customerIds.size());
customerIds.forEach(customerId -> {
CustomerState customerState = customerIdMap.get(customerId.getIntegrationCode());
assertNotNull(customerState);
assertEquals(customerState.getId(), customerId.getId());
assertEquals(customerState.getAuthState().ordinal(), customerId.getAuthenticatedState().ordinal());
});
}
Aggregations