public EventJournalConfig setEnabled(boolean enabled) {
        this.enabled = enabled;
        return this;
    }
@Test(expected = UnsupportedOperationException.class)
    public void testReadOnlyClass_setEnabled_throwsException() {
        getReadOnlyConfig().setEnabled(false);
    }