From 6c9b3b3ed6967b4a28e439236049003c3b9d2ca2 Mon Sep 17 00:00:00 2001 From: Philippe Date: Sat, 10 Feb 2024 11:41:07 +0100 Subject: [PATCH] Added unit test --- src/test/java/com/bynder/sdk/query/UsageQueryTest.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/test/java/com/bynder/sdk/query/UsageQueryTest.java b/src/test/java/com/bynder/sdk/query/UsageQueryTest.java index e08efe46..ef1171ad 100644 --- a/src/test/java/com/bynder/sdk/query/UsageQueryTest.java +++ b/src/test/java/com/bynder/sdk/query/UsageQueryTest.java @@ -22,6 +22,7 @@ public class UsageQueryTest { public static final String EXPECTED_ASSET_ID = "assetId"; + public static final String EXPECTED_URI = "uri"; private UsageQuery usageQuery; @@ -40,4 +41,10 @@ public void setAssetIdForUsageQuery() { usageQuery.setAssetId(EXPECTED_ASSET_ID); assertEquals(EXPECTED_ASSET_ID, usageQuery.getAssetId()); } + + @Test + public void setUriForUsageQuery() { + usageQuery.setUri(EXPECTED_URI); + assertEquals(EXPECTED_URI, usageQuery.getUri()); + } }