use of com.mirakl.client.mmp.domain.shop.MiraklShopKycStatus in project mirakl-hyperwallet-connector by paypal.
the class IndividualKYCUserNotificationStrategyTest method execute_shouldSendKycUpdateNotification_whenIndividualSeller.
@MethodSource("validVerificationStatuses")
@ParameterizedTest
void execute_shouldSendKycUpdateNotification_whenIndividualSeller(final HyperwalletUser.VerificationStatus hyperwalletVerificationStatus, final MiraklShopKycStatus miraklKycStatus) {
// @formatter:off
final KYCUserStatusNotificationBodyModel KYCUserStatusNotificationBodyModelStub = KYCUserStatusNotificationBodyModel.builder().clientUserId(String.valueOf(CLIENT_USER_ID)).verificationStatus(hyperwalletVerificationStatus).profileType(HyperwalletUser.ProfileType.INDIVIDUAL).build();
// @formatter:on
final MiraklShopKycStatus result = testObj.expectedKycMiraklStatus(KYCUserStatusNotificationBodyModelStub);
assertThat(result).isEqualTo(miraklKycStatus);
}
Aggregations