Skip to content

Commit

Permalink
Adds 1 more test to UC3_Ex1 for testing with the correct domains
Browse files Browse the repository at this point in the history
  • Loading branch information
CesarCoelho committed Jan 7, 2025
1 parent 49d5dbd commit 1a0212a
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,20 @@ public void testCase_11() {
test(user, domain, DeliveryMethodEnum.SERVICE, productType, 1);
}

/**
* Test Case 12.
*/
@Test
public void testCase_12() {
System.out.println("Running: testCase_12()");
Identifier user = new Identifier("john.doe");
IdentifierList domain = new IdentifierList();
domain.add(new Identifier("nasa"));
domain.add(new Identifier("hubble"));
Identifier productType = null;
test(user, domain, DeliveryMethodEnum.SERVICE, productType, 1);
}

private void test(Identifier user, IdentifierList domain,
DeliveryMethodEnum deliveryMethod, Identifier productType, int expectedNumberOfProducts) {
try {
Expand Down

0 comments on commit 1a0212a

Please sign in to comment.