### Question:
Container_Get1 extends DataSource { public void setSerialNo(String serialNo) { inputParameters.setSerialNo(serialNo); } Container_Get1(IDataSourceCallback callback, HttpDataSourceCredentials credentials, String serverName);  Container_Get1(IDataSourceCallback callback, HttpDataSourceCredentials credentials, String serverName, boolean test); protected  Container_Get1(IDataSourceCallback callback, HttpDataSourceCredentials credentials, String serverName, boolean test, IDataSourceConnector connector); String getSerialNo(); void setSerialNo(String serialNo);  }### Answer:
@Test public void testInputParameterJSON() { String serialNo = "S123456"; String expectedValue = "{\"Serial_No\":\"S123456\"}"; Container_Get1 cgl = new Container_Get1(null, null, null); cgl.setSerialNo(serialNo); assertEquals(expectedValue, cgl.getJsonRequest()); }