@Test
public void logTypeAndCategoryAreUsedForLogEntries() {

    final EvictingConnectionLogger logger = builder().build();
    logger.success(INFO_PROVIDER_WITH_THING);
    final LogEntry entry = getFirstAndOnlyEntry(logger);
    LogEntryAssertions.assertThat(entry)
            .hasCategory(CATEGORY)
            .hasType(TYPE)
            .hasInfo(INFO_PROVIDER_WITH_THING);
}