Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Oct 20, 2024
1 parent b4c8983 commit af390eb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,13 @@ void setObjectWithTargetType(@Mock final Object object) throws SQLException {
}

@Test
void execute() throws SQLException {
void executeWithoutArgs() throws SQLException {
when(getStatementMock().execute()).thenReturn(true);
assertTrue(testee().execute());
}

@Test
void addBatch() throws SQLException {
void addBatchWithoutArgs() throws SQLException {
testee().addBatch();
verify(getStatementMock()).addBatch();
}
Expand Down

0 comments on commit af390eb

Please sign in to comment.