use of com.mirakl.client.mmp.operator.core.MiraklMarketplacePlatformOperatorApiClient in project mirakl-hyperwallet-connector by paypal.
the class SellersMiraklApiConfigTest method miraklMarketplacePlatformOperatorApiClient_shouldReturnWellFormedMiraklMarketplacePlatformOperatorApiClient.
@Test
void miraklMarketplacePlatformOperatorApiClient_shouldReturnWellFormedMiraklMarketplacePlatformOperatorApiClient() {
testObj.setEnvironment(ENV);
testObj.setOperatorApiKey(API_KEY);
final MiraklMarketplacePlatformOperatorApiClient result = testObj.sellersMiraklMarketplacePlatformOperatorApiClient();
assertThat(result).hasFieldOrPropertyWithValue("defaultEndpoint.path", ENV).hasFieldOrPropertyWithValue("defaultHttpContext.map", Map.of("Authorization", API_KEY));
}
use of com.mirakl.client.mmp.operator.core.MiraklMarketplacePlatformOperatorApiClient in project mirakl-hyperwallet-connector by paypal.
the class KYCMiraklApiConfigTest method kycMiraklMarketplacePlatformOperatorApiClient_shouldReturnWellFormedMiraklMarketplacePlatformOperatorApiClient.
@Test
void kycMiraklMarketplacePlatformOperatorApiClient_shouldReturnWellFormedMiraklMarketplacePlatformOperatorApiClient() {
testObj.setEnvironment(ENV);
testObj.setOperatorApiKey(API_KEY);
final MiraklMarketplacePlatformOperatorApiClient result = testObj.kycMiraklMarketplacePlatformOperatorApiClient();
assertThat(result).hasFieldOrPropertyWithValue("defaultEndpoint.path", ENV).hasFieldOrPropertyWithValue("defaultHttpContext.map", Map.of("Authorization", API_KEY));
}
use of com.mirakl.client.mmp.operator.core.MiraklMarketplacePlatformOperatorApiClient in project mirakl-hyperwallet-connector by paypal.
the class ReportsMiraklApiConfigTest method reportsMiraklMarketplacePlatformOperatorApiClient_shouldReturnWellFormedMiraklMarketplacePlatformOperatorApiClient.
@Test
void reportsMiraklMarketplacePlatformOperatorApiClient_shouldReturnWellFormedMiraklMarketplacePlatformOperatorApiClient() {
testObj.setEnvironment(ENV);
testObj.setOperatorApiKey(API_KEY);
final MiraklMarketplacePlatformOperatorApiClient result = testObj.reportsMiraklMarketplacePlatformOperatorApiClient();
assertThat(result).hasFieldOrPropertyWithValue("defaultEndpoint.path", ENV).hasFieldOrPropertyWithValue("defaultHttpContext.map", Map.of("Authorization", API_KEY));
}
Aggregations