@Test
public void testOnDecisionTableSelectedEventReadOnly() {

    //ViewMenuBuilder.setup() called in @Setup disables view by default
    assertFalse(builder.miToggleMergeState.getMenuItem().isEnabled());
    assertFalse(builder.miViewAuditLog.getMenuItem().isEnabled());
    dtPresenter.getAccess().setReadOnly(true);
    builder.onDecisionTableSelectedEvent(new DecisionTableSelectedEvent(dtPresenter));
    //Verify selecting a read-only Decision Table also disables view
    assertFalse(builder.miToggleMergeState.getMenuItem().isEnabled());
    assertFalse(builder.miViewAuditLog.getMenuItem().isEnabled());
}