use of com.adobe.experiencecloud.ecid.visitor.VisitorState in project target-java-sdk by adobe.
the class TargetDeliveryRequestTest method verifyVisitorState.
private void verifyVisitorState(TargetDeliveryResponse targetDeliveryResponse, Map<String, CustomerState> customerIdsExpected) {
assertNotNull(targetDeliveryResponse.getVisitorState());
assertEquals(1, targetDeliveryResponse.getVisitorState().size());
VisitorState visitorState = targetDeliveryResponse.getVisitorState().get(TEST_ORG_ID);
Map<String, CustomerState> customerIdsActual = visitorState.getCustomerIDs();
assertEquals(customerIdsExpected, customerIdsActual);
}
Aggregations