Skip to content

Commit cf7d217

Browse files
committed
chore: improve coverage
1 parent 566e94b commit cf7d217

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

client-utils/src/test/java/com/influxdb/ArgumentsTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ void checkOneCharStringLarge() {
141141

142142
@Test
143143
void checkNotNull() {
144+
Arguments.checkNotNull("value", "property");
145+
}
146+
147+
@Test
148+
void checkNotNullFail() {
144149
Assertions.assertThatThrownBy(() -> Arguments.checkNotNull(null, "property"))
145150
.isInstanceOf(NullPointerException.class)
146151
.hasMessage("Expecting a not null reference for property");

0 commit comments

Comments
 (0)