@Test
public void convertElementByCssIsPresent() throws Exception {

    WebDriverActionCondition precondition = model.getActions().get(0).getPrecondition().getAction();
    initMocks(precondition);
    ConditionASTNodeConverter conditionASTNodeConverter = new ConditionASTNodeConverter(parametersConfigurationConverter);
    WebDriverActionConfiguration actual = conditionASTNodeConverter.convert(precondition);
    assertEquals(ELEMENT_BY_CSS_TO_BE_PRESENT, actual.getWebDriverActionType());
    assertEquals(parameterConfigurationMap, actual.getParametersConfiguration());
}