Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: David Joos <david.joos@bosch-si.com>
  • Loading branch information
David Joos committed Apr 28, 2020
1 parent bce4c4a commit 3206729
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -176,9 +176,7 @@ private Command createCommandMock(final Category commandCategory, final String i
.ifMatch(EntityTagMatchers.fromCommaSeparatedString(ifMatchHeaderValue))
.ifNoneMatch(EntityTagMatchers.fromCommaSeparatedString(ifNoneMatchHeaderValue))
.build();
final Command commandMock;

commandMock = mock(Command.class);
final Command commandMock = mock(Command.class);
when(commandMock.getDittoHeaders()).thenReturn(dittoHeaders);
when(commandMock.getCategory()).thenReturn(commandCategory);

Expand Down

0 comments on commit 3206729

Please sign in to comment.