Skip to content

Commit

Permalink
fixed LogEntryFactoryTest
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed Dec 22, 2021
1 parent 7bdb628 commit eefe6a5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ public final class LogEntryFactoryTest {
@Mock
private Adaptable adaptable;

@Mock
private TopicPath topicPath;

private DittoHeaders dittoHeadersWithCorrelationId;

@Before
Expand All @@ -73,6 +76,7 @@ public void before() {
Mockito.when(command.getDittoHeaders()).thenReturn(emptyDittoHeaders);
Mockito.when(commandResponse.getDittoHeaders()).thenReturn(emptyDittoHeaders);
Mockito.when(adaptable.getDittoHeaders()).thenReturn(dittoHeadersWithCorrelationId);
Mockito.when(adaptable.getTopicPath()).thenReturn(topicPath);
}

@Test
Expand Down

0 comments on commit eefe6a5

Please sign in to comment.