@Test
public void testEmptyWhenTypeChanges() {

  final StreamDiscoverer discoverer = new StreamDiscoverer(rootTable, "Camera");
  String[] urls = {"foo", "bar"};
  rootTable.getEntry("Camera/streams").setStringArray(urls);
  waitForNtEvents();
  rootTable.getEntry("Camera/streams").forceSetBoolean(false);
  waitForNtEvents();
  assertArrayEquals(new String[0], discoverer.getUrls());
}