}
@Test
public void testParameterComponentWrite() {
ParameterComponent parameterComponent = Mockito.mock( ParameterComponent.class );
when(parameterComponent.tryGetPropertyValue( "propertyValue", "" )).thenReturn("1");
when(parameterComponent.tryGetPropertyValue( "parameterViewRole", "unused" )).thenReturn("unused");
when(context.getId( parameterComponent )).thenReturn( "param1" );
StringBuilder dashboardResult = new StringBuilder();