### Question:
Part_Name_Output_Get extends DataSource { public void setPartKey(int partKey) { _inputParameters.setPartKey(partKey); } Part_Name_Output_Get(IDataSourceCallback iDataSourceCallback, HttpDataSourceCredentials credentials, String serverName);  Part_Name_Output_Get(IDataSourceCallback iDataSourceCallback, HttpDataSourceCredentials credentials, String serverName,
      boolean useTestServer); protected  Part_Name_Output_Get(IDataSourceCallback iDataSourceCallback, HttpDataSourceCredentials credentials, String serverName,
      boolean useTestServer,
      IDataSourceConnector connector); int getPartKey(); void setPartKey(int partKey);  }### Answer:
@Test public void testInputParameterJSON() { int partKey = 1234; String expectedValue = "{\"Part_Key\":1234}"; Part_Name_Output_Get pnog = new Part_Name_Output_Get(null, null, null); pnog.setPartKey(partKey); assertEquals(expectedValue, pnog.getJsonRequest()); }