@Test
public void testGenerateUrls() {

  Map<String, String> commands = new HashMap<>();
  String url1 = "http://roborio-0000-frc.local:1181/stream.mjpg";
  String url2 = "http://10.0.0.2:1181/stream.mjpg";
  String[] baseUrls = {url1, url2};
  assertArrayEquals(baseUrls, CameraUrlGenerator.generateUrls(commands, baseUrls),
      "No commands should return the base URLs");
  commands.put("foo", "bar");
  assertArrayEquals(
      new String[]{url1 + "?foo=bar", url2 + "?foo=bar"},
      CameraUrlGenerator.generateUrls(commands, baseUrls),
      "Generated URLs do not match");
}