Skip to content

Conversation

@DominikBasnerSotec
Copy link
Contributor

… null handling and tests

@sophokles73
Copy link
Contributor

@mattkaem would you mind taking a look? This seems to fall into your area of expertise ...

Comment on lines +115 to +119
<dependency>
<groupId>org.eclipse.hono</groupId>
<artifactId>core-test-utils</artifactId>
<scope>test</scope>
</dependency>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation seems to be off here. Could you please fix it?

Comment on lines +238 to +240
final var preparedQueryMock = mock(io.vertx.sqlclient.PreparedQuery.class);
when(preparedQueryMock.execute(any(Tuple.class))).thenReturn(Future.succeededFuture(rowSet));
when(sqlConnection.preparedQuery(anyString())).thenReturn(preparedQueryMock);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be moved into a private method since it is replicated multiple times in this class. WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants