@Test
public void onRuleClick() {

    ruleButtonMock.checked = true;
    scenarioSimulationCreationPopupViewSpy.onRuleClick(clickEventMock);
    verify(dmnAssetsDivElementMock, times(1)).setAttribute(eq(ConstantHolder.HIDDEN), eq(""));
    verify(okButtonMock, times(1)).setEnabled(eq(true));
    assertEquals(ScenarioSimulationModel.Type.RULE, scenarioSimulationCreationPopupViewSpy.getSelectedType());
}