@Override
    public void run() {
        logSubprocess();
    }
@Test
    public void shouldLogDefaultMessageWhenNoMessageGiven() {
        logger = new SubprocessLogger(stubProcess());
        String allLogs;
        try (LogFixture log = logFixtureFor(SubprocessLogger.class, Level.ALL)) {
            logger.run();
            String result;
            synchronized (log) {
                result = log.getLog();
            }
            allLogs = result;
        }
        assertThat(allLogs, containsString("Logged all subprocesses."));
    }