    @Test
    public void follow() {

        LogFile logFile = new LogFile("server.log", Collections.<String>emptyList(), 0);
        store.states.put(logFile.getName(), logFile);
        store.activate(logFile);

        store.follow(NoopChannel.INSTANCE);

        assertFalse(store.pauseFollow);
        LogFile activeLogFile = store.getActiveLogFile();
        assertNotNull(activeLogFile);
        assertTrue(activeLogFile.isFollow());
    }