@Test
public void convertTextOfElementWithCssSelectorToBe() throws Exception {

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