@Test public void buildParameters() throws Exception { List<NameValuePair> params = client.buildCreateParameters(VERSION_1_1); assertEquals(VERSION_1_1, TestUtils.getValueByKey(params, "bundle_version")); }
List<NameValuePair> buildCreateParameters(String version) { List<NameValuePair> parameters = new ArrayList<>(); parameters.add(new BasicNameValuePair("bundle_version", version)); parameters.add(new BasicNameValuePair("bundle_short_version", version)); return parameters; }
VersionClient { List<NameValuePair> buildCreateParameters(String version) { List<NameValuePair> parameters = new ArrayList<>(); parameters.add(new BasicNameValuePair("bundle_version", version)); parameters.add(new BasicNameValuePair("bundle_short_version", version)); return parameters; } }
VersionClient { List<NameValuePair> buildCreateParameters(String version) { List<NameValuePair> parameters = new ArrayList<>(); parameters.add(new BasicNameValuePair("bundle_version", version)); parameters.add(new BasicNameValuePair("bundle_short_version", version)); return parameters; } VersionClient(HockeyAppRequestBuilder requestBuilder); }
VersionClient { List<NameValuePair> buildCreateParameters(String version) { List<NameValuePair> parameters = new ArrayList<>(); parameters.add(new BasicNameValuePair("bundle_version", version)); parameters.add(new BasicNameValuePair("bundle_short_version", version)); return parameters; } VersionClient(HockeyAppRequestBuilder requestBuilder); HockeyAppVersion getVersion(); }
VersionClient { List<NameValuePair> buildCreateParameters(String version) { List<NameValuePair> parameters = new ArrayList<>(); parameters.add(new BasicNameValuePair("bundle_version", version)); parameters.add(new BasicNameValuePair("bundle_short_version", version)); return parameters; } VersionClient(HockeyAppRequestBuilder requestBuilder); HockeyAppVersion getVersion();  }