feat(marketplace-entitlement): emulate AWS Marketplace Entitlement API (#3340)

This commit is contained in:
Franklin G. Mendoza authored and GitHub committed 2026-09-10 15:26:16 -04:00
1 parent 3090e333d4
commit 87f2c2d1a8
13 files changed
+425 -4

No files matched your search

@@ -0,0 +1,19 @@
package com.floci.test;
import org.junit.jupiter.api.Test;
import software.amazon.awssdk.services.marketplaceentitlement.MarketplaceEntitlementClient;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
class MarketplaceEntitlementTest {
@Test
void usesAwsSdkWireContract() {
try (MarketplaceEntitlementClient client = TestFixtures.marketplaceEntitlementClient()) {
var response = client.getEntitlements(r -> r.productCode("product-local"));
assertNotNull(response.entitlements());
assertTrue(response.entitlements().isEmpty());
}
}
}