@Test
public void testGenerateHttpParams() {

  Map<String, String> commands = new HashMap<>();
  String baseUrl = "http://myCode:1111";
  String params = CameraUrlGenerator.addHttpParams(baseUrl, commands);
  assertEquals(baseUrl, params);
  commands.put("foo", "bar");
  params = CameraUrlGenerator.addHttpParams(baseUrl, commands);
  assertEquals(baseUrl + "?foo=bar", params);
  commands.put("baz", "buq");
  params = CameraUrlGenerator.addHttpParams(baseUrl, commands);
  assertEquals(baseUrl + "?foo=bar&baz=buq", params);
}