Polish Javadoc for MergedAnnotation support

See gh-21697
This commit is contained in:
Sam Brannen
2019-04-03 16:41:27 +02:00
parent a4279c5d00
commit 807828b2b7
19 changed files with 233 additions and 221 deletions

View File

@@ -32,21 +32,21 @@ public class PackagesAnnotationFilterTests {
public void createWhenPackagesIsNullThrowsException() {
assertThatIllegalArgumentException().isThrownBy(
() -> new PackagesAnnotationFilter((String[]) null)).withMessage(
"Packages must not be null");
"Packages array must not be null");
}
@Test
public void createWhenPackagesContainsNullThrowsException() {
assertThatIllegalArgumentException().isThrownBy(
() -> new PackagesAnnotationFilter((String) null)).withMessage(
"Package must not have empty elements");
"Packages array must not have empty elements");
}
@Test
public void createWhenPackagesContainsEmptyTextThrowsException() {
assertThatIllegalArgumentException().isThrownBy(
() -> new PackagesAnnotationFilter("")).withMessage(
"Package must not have empty elements");
"Packages array must not have empty elements");
}
@Test