@Test public void testInputParameterJSON() { String partNo = "4709-A"; String expectedValue = "{\"Part_No\":\"4709-A\"}"; Parts_Picker_Get2 ppg = new Parts_Picker_Get2(null, null, null); ppg.setPartNo(partNo); assertEquals(expectedValue, ppg.getJsonRequest()); }
public void setPartNo(String partNo) { inputParameters.setPartNo(partNo); }
Parts_Picker_Get2 extends DataSource { public void setPartNo(String partNo) { inputParameters.setPartNo(partNo); } }
Parts_Picker_Get2 extends DataSource { public void setPartNo(String partNo) { inputParameters.setPartNo(partNo); } Parts_Picker_Get2(IDataSourceCallback iDataSourceCallback, HttpDataSourceCredentials credentials, String serverName);   Parts_Picker_Get2(IDataSourceCallback iDataSourceCallback, HttpDataSourceCredentials credentials, String serverName, boolean useTestServer); protected  Parts_Picker_Get2(IDataSourceCallback iDataSourceCallback, HttpDataSourceCredentials credentials, String serverName,
      boolean useTestServer,
      IDataSourceConnector connector); }
Parts_Picker_Get2 extends DataSource { public void setPartNo(String partNo) { inputParameters.setPartNo(partNo); } Parts_Picker_Get2(IDataSourceCallback iDataSourceCallback, HttpDataSourceCredentials credentials, String serverName);   Parts_Picker_Get2(IDataSourceCallback iDataSourceCallback, HttpDataSourceCredentials credentials, String serverName, boolean useTestServer); protected  Parts_Picker_Get2(IDataSourceCallback iDataSourceCallback, HttpDataSourceCredentials credentials, String serverName,
      boolean useTestServer,
      IDataSourceConnector connector); String getPartNo(); void setPartNo(String partNo); }
Parts_Picker_Get2 extends DataSource { public void setPartNo(String partNo) { inputParameters.setPartNo(partNo); } Parts_Picker_Get2(IDataSourceCallback iDataSourceCallback, HttpDataSourceCredentials credentials, String serverName);   Parts_Picker_Get2(IDataSourceCallback iDataSourceCallback, HttpDataSourceCredentials credentials, String serverName, boolean useTestServer); protected  Parts_Picker_Get2(IDataSourceCallback iDataSourceCallback, HttpDataSourceCredentials credentials, String serverName,
      boolean useTestServer,
      IDataSourceConnector connector); String getPartNo(); void setPartNo(String partNo);  }