Skip to content

Commit

Permalink
Code Smells
Browse files Browse the repository at this point in the history
  • Loading branch information
slaurenz committed Mar 25, 2022
1 parent bbfc64f commit a895532
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,13 @@ void setQueryParameters() throws Exception {

Assertions.assertEquals(1, result.size());
Assertions.assertEquals("DE", result.get(0).getCountry());

}

@Test
public void setWrongQueryFormat() {
assertThrows(IllegalArgumentException.class, () -> {
connector.setQueryParameter(QueryParameter.WITH_FEDERATION, List.of(true,false));
});
void setWrongQueryFormat() {
assertThrows(IllegalArgumentException.class, () ->
connector.setQueryParameter(QueryParameter.WITH_FEDERATION, List.of(true,false)));
}

}

0 comments on commit a895532

Please sign in to comment.