@Test
public void helper_shouldPrintCapabilityEthVersion_whenInfoEnabled() {

    SystemProperties system = new SystemProperties();
    Initializer initializer = new Initializer();
    ListAppender<ILoggingEvent> inMemoryAppender = new ListAppender<>();
    inMemoryAppender.start();
    Logger logger = (Logger) LoggerFactory.getLogger("general");
    try {
        logger.setLevel(Level.DEBUG);
        logger.addAppender(inMemoryAppender);
        initializer.postProcessBeforeInitialization(system, "initializerBean");
        assertContainsLogLine(inMemoryAppender.list, "capability eth version: [62, 63]");
        assertContainsLogLine(inMemoryAppender.list, "capability shh version: [3]");
        assertContainsLogLine(inMemoryAppender.list, "capability bzz version: [0]");
    } finally {
        inMemoryAppender.stop();
        logger.detachAppender(inMemoryAppender);
    }
}