Skip to content

Commit

Permalink
Added unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
polanus committed Feb 10, 2024
1 parent 7fb358c commit 6c9b3b3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/test/java/com/bynder/sdk/query/UsageQueryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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());
}
}

0 comments on commit 6c9b3b3

Please sign in to comment.