### Question:
BasicInputControlHandler implements InputControlHandler { @Override public final Object convertParameterValueFromRawData(String[] rawData, InputControl inputControl, ReportInputControlInformation info) throws CascadeResourceNotFoundException, InputControlValidationException { Object value; if (rawData != null) { value = internalConvertParameterValueFromRawData(rawData, inputControl, info); } else { value = info.getDefaultValue(); } internalValidateValue(value, inputControl, info); return value; }  @PostConstruct void init(); @Override void applyNothingSelected(String controlName, Map<String, Object> parameters); @Override boolean isNothingSelected(String[] rawData); @Override Set<String> getMasterDependencies(InputControl control, ResourceReference dataSource); @Override ReportInputControl buildReportInputControl(InputControl inputControl, String uiType, ResourceReference dataSource); @Override final InputControlState getState(InputControl inputControl, ResourceReference dataSource, Map<String, Object> parameters, Map<String, Class<?>> parameterTypes, ReportInputControlInformation info); @Override final Object convertParameterValueFromRawData(String[] rawData, InputControl inputControl, ReportInputControlInformation info); @Override String[] formatValue(Object typedValue, InputControl inputControl, ReportInputControlInformation info); static final String MULTI_DATA_TYPE_UI_TYPE; }### Answer:
@Test public void convertParameterValueFromRawDataNullAndDefaultNull() throws Exception { setApplicationContextForTestCase("classpath:/com/jaspersoft/jasperserver/inputcontrols/cascade/handlers/basicInputControlHandler/" + "verifyNullSubstitutionWhenNoInputParamsAndDefaultIsNull.xml"); String testCaseName = "verifyNullSubstitutionWhenNoInputParamsAndDefaultIsNull"; InputControl control = getControl("String", testCaseName); ReportInputControlInformation info = getControlInfo("String", testCaseName); InputControlHandler inputControlHandler = getHandler(testCaseName, InputControl.TYPE_SINGLE_VALUE); String[] rawData = getRawDataArray(testCaseName); Object typedValues = inputControlHandler.convertParameterValueFromRawData(rawData, control, info); assertTypedValue("verifyNullSubstitutionWhenNoInputParamsAndDefaultIsNull", typedValues); }