### Question:
WearBluetoothMediatorSettings { @VisibleForTesting List<Uri> getObservedUris() { ArrayList<Uri> uris = new ArrayList<>(); uris.add(Settings.Global.getUriFor(Settings.Global.AIRPLANE_MODE_ON)); uris.add(Settings.System.getUriFor(BLUETOOTH_SETTINGS_PREF_KEY)); return uris; } WearBluetoothMediatorSettings(ContentResolver contentResolver); void addListener(Listener listener);  }### Answer:
@Test public void testContentObserverRegistered() { ShadowContentResolver scr = shadowOf(cr); for (Uri uri : mBluetoothSettings.getObservedUris()) { assertEquals(1, scr.getContentObservers(uri).size()); } }