diff options
Diffstat (limited to 'sonar-plugin-api/src/test')
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/config/EmailSettingsTest.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/config/EmailSettingsTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/config/EmailSettingsTest.java index 6b49486e1f6..5aed83ef381 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/config/EmailSettingsTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/config/EmailSettingsTest.java @@ -58,4 +58,11 @@ public class EmailSettingsTest { public void return_definitions() { assertThat(EmailSettings.definitions()).hasSize(8); } + + @Test + public void definitions_should_have_index() { + assertThat(EmailSettings.definitions()) + .extracting(PropertyDefinition::index) + .isNotEqualTo(999); + } } |