@Test
void shouldContainLocalhostRulesForLocalhost() {

    Set<String> ruleNames = requestLimitRulesSupplier.getRules("localhost")
            .stream()
            .map(RequestLimitRule::getName)
            .collect(Collectors.toSet());
    assertThat(ruleNames).hasSize(2);
    assertThat(ruleNames).contains("localhostPerSeconds", "localhostPerHours");
}