@Test
@SuppressWarnings("squid:S2699")
public void verifyAllCategoriesAndTypesRunWithoutException() {

    // make sure that developers won't forget to add new categories in the ConnectionLoggerFactory.
    // Otherwise an exception will be thrown.
    Arrays.stream(LogCategory.values())
            .forEach(category -> {
                Arrays.stream(LogType.values())
                        .forEach(type -> ConnectionLoggerFactory.newEvictingLogger(1, 1, category, type, "1"));
            });
}