Skip to content

Commit

Permalink
Fix test for JSR-350 @nonnull
Browse files Browse the repository at this point in the history
Closes gh-24647
  • Loading branch information
philwebb committed Jan 6, 2021
1 parent 848ed65 commit 52e47c4
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -86,7 +86,8 @@ void isMandatoryWhenJsrMetaNullableAnnotationShouldReturnFalse() {
assertThat(parameter.isMandatory()).isFalse();
}

public void isMandatoryWhenJsrNonnullAnnotationShouldReturnTrue() {
@Test
void isMandatoryWhenJsrNonnullAnnotationShouldReturnTrue() {
OperationMethodParameter parameter = new OperationMethodParameter("name",
this.exampleJsr305NonNull.getParameters()[1]);
assertThat(parameter.isMandatory()).isTrue();
Expand Down

0 comments on commit 52e47c4

Please sign in to comment.