public StarMgrJournal(Journal journal) {
        this.journal = journal;
    }
@Test
    public void testStarMgrJournal() {
        new MockUp<Journal>() {
            @Mock
            public void write(DataOutput out) throws IOException {
            }
        };
        new MockUp<EditLog>() {
            @Mock
            public void logStarMgrOperation(StarMgrJournal journal) {
            }
        };

        StarMgrJournal starMgrJournal = new StarMgrJournal(journal);

        try {
            starMgrJournal.write(null);
        } catch (IOException e) {
        }

        Assert.assertEquals(journal, starMgrJournal.getJournal());

        editLog.logStarMgrOperation(starMgrJournal);
    }