@Test
public void convertExposedValue() {

    final String parameterName = "text";
    final String aliasText = "alias-text";
    ParameterValue parameterValue = mock(ParameterValue.class, RETURNS_DEEP_STUBS);
    when(parameterValue.getExposedParameter().getName()).thenReturn(aliasText);
    ParameterConfigurationConverter converter = new ParameterConfigurationConverter();
    ParameterConfiguration actual = converter.convert(parameterName, parameterValue);
    assertEquals(parameterName, actual.getParameterName());
    assertNull(actual.getValue());
    assertEquals(aliasText, actual.getAlias());
    assertTrue(actual.isExposed());
}