Skip to content

Commit

Permalink
improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailSuendukov committed Aug 18, 2023
1 parent f206da9 commit ab6f13b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public void checkLogAttributes() throws Exception {
Log log2 = mock(Log.class);
when(log2.getDevice()).thenReturn(device);
when(log2.getTimestamp()).thenReturn(new Date(123L));
when(log2.getDataResidencyRegion()).thenReturn("region");
channel.enqueue(log2, "", DEFAULTS);
verify(log2, never()).setDevice(any(Device.class));
verify(log2, never()).setTimestamp(any(Date.class));
Expand Down

0 comments on commit ab6f13b

Please sign in to comment.