@Override
    public void run() {
        logSubprocess();
    }
@Test
    public void shouldNotLogAnythingWhenNoChildProcessesFound() {
        CurrentProcess currentProcess = mock(CurrentProcess.class);
        logger = new SubprocessLogger(currentProcess);
        try (LogFixture log = logFixtureFor(SubprocessLogger.class, Level.ALL)) {
            logger.run();
            String result;
            synchronized (log) {
                result = log.getLog();
            }
            assertThat(result, is(""));
        }
    }