ijuma commented on a change in pull request #11024: URL: https://github.com/apache/kafka/pull/11024#discussion_r702993808
########## File path: connect/basic-auth-extension/src/test/java/org/apache/kafka/connect/rest/basic/auth/extension/BasicAuthSecurityRestExtensionTest.java ########## @@ -37,9 +39,15 @@ import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.mockito.Mockito.doReturn; +import static org.mockito.Mockito.mock; +@ExtendWith(MockitoExtension.class) public class BasicAuthSecurityRestExtensionTest { + @Mock + Configurable<? extends Configurable<?>> configurable; Review comment: Why did we make this a field even though it's only used in the one test? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org