Skip to content

Commit

Permalink
EPA-105: remove redundant mock
Browse files Browse the repository at this point in the history
  • Loading branch information
michelealbanese-oviva committed May 7, 2024
1 parent 73f30a0 commit 2d57aae
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,8 @@ void methodNotAllowed() {

// when
var httpServerExchange = mock(HttpServerExchange.class);
var headers = mock(HeaderMap.class);
var sender = mock(Sender.class);

when(httpServerExchange.getResponseHeaders()).thenReturn(headers);
when(httpServerExchange.getResponseSender()).thenReturn(sender);
when(httpServerExchange.getRequestMethod()).thenReturn(HttpString.tryFromString("POST"));

Expand Down

0 comments on commit 2d57aae

Please sign in to comment.