@Test
public void convertWithExposedParameters() {

    final String exposedParameter = "text";
    SyntaxDefinition syntaxDefinition = mock(SyntaxDefinition.class, RETURNS_DEEP_STUBS);
    when(syntaxDefinition.getParameter().getName()).thenReturn(exposedParameter);
    SyntaxDefinitionASTNodeConverter converter = new SyntaxDefinitionASTNodeConverter();
    SyntaxDefinitionConfiguration actual = converter.convert(syntaxDefinition);
    assertEquals(exposedParameter, actual.getExposedParameter());
}