diff --git a/eng/automation/changelog/src/test/java/com/azure/resourcemanager/tools/changelog/BreakingChangeTests.java b/eng/automation/changelog/src/test/java/com/azure/resourcemanager/tools/changelog/BreakingChangeTests.java index c71392d53555..a616f3021a72 100644 --- a/eng/automation/changelog/src/test/java/com/azure/resourcemanager/tools/changelog/BreakingChangeTests.java +++ b/eng/automation/changelog/src/test/java/com/azure/resourcemanager/tools/changelog/BreakingChangeTests.java @@ -47,5 +47,8 @@ public void testCompareJars() { String changelog = (String) jsonObject.get("changelog"); Assertions.assertFalse(CoreUtils.isNullOrEmpty(changelog)); Assertions.assertFalse(breakingChanges.isEmpty()); + Assertions.assertTrue(breakingChanges.toList().contains("Required stage 3 was added in class `com.azure.resourcemanager.quota.models.CurrentQuotaLimitBase$DefinitionStages`.")); + Assertions.assertTrue(breakingChanges.toList().contains("Method `withProperties(com.azure.resourcemanager.quota.models.QuotaProperties)` was removed in stage 2 in class `com.azure.resourcemanager.quota.models.CurrentQuotaLimitBase$DefinitionStages`.")); + Assertions.assertTrue(breakingChanges.toList().contains("Method `withProperties(com.azure.resourcemanager.quota.models.QuotaProperties)` was removed in class `com.azure.resourcemanager.quota.models.CurrentQuotaLimitBase$Definition`.")); } } diff --git a/eng/automation/changelog/src/test/resources/new.jar b/eng/automation/changelog/src/test/resources/new.jar index 023e300889ff..30fde046df55 100644 Binary files a/eng/automation/changelog/src/test/resources/new.jar and b/eng/automation/changelog/src/test/resources/new.jar differ diff --git a/eng/automation/changelog/src/test/resources/old.jar b/eng/automation/changelog/src/test/resources/old.jar index 14ea346a4508..40e1fbb1346e 100644 Binary files a/eng/automation/changelog/src/test/resources/old.jar and b/eng/automation/changelog/src/test/resources/old.jar differ