### Question:
BasicInputControlHandler implements InputControlHandler { @Override public final InputControlState getState(InputControl inputControl, ResourceReference dataSource, Map<String, Object> parameters, Map<String, Class<?>> parameterTypes, ReportInputControlInformation info) throws CascadeResourceNotFoundException { InputControlState state = new InputControlState(); state.setUri(inputControl.getURIString()); state.setId(inputControl.getName()); fillStateValue(state, inputControl, dataSource, parameters, info, parameterTypes); return state; }  @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 getValueNullSubstitutionTypedParamsNullDefaultNull() throws Exception { setApplicationContextForTestCase("classpath:/com/jaspersoft/jasperserver/inputcontrols/cascade/handlers/basicInputControlHandler/" + "getValueWhenTypedParamNullDefaultNull.xml"); String testCaseName = "getValueWhenTypedParamNullDefaultNull"; InputControl control = getControl("String", testCaseName); ReportInputControlInformation info = getControlInfo("String", testCaseName); InputControlHandler inputControlHandler = getHandler(testCaseName, InputControl.TYPE_SINGLE_VALUE); Map<String,Object> typedParamsMap = getTypedParamsMap(testCaseName); InputControlState envelope = inputControlHandler.getState(control, null, typedParamsMap, getParameterTypes(testCaseName), info); assertControlState(testCaseName, envelope); }