### Question:
StorageNotLowTracker extends BroadcastReceiverConstraintTracker<Boolean> { @Override public IntentFilter getIntentFilter() { IntentFilter intentFilter = new IntentFilter(); intentFilter.addAction(Intent.ACTION_DEVICE_STORAGE_OK); intentFilter.addAction(Intent.ACTION_DEVICE_STORAGE_LOW); return intentFilter; } StorageNotLowTracker(Context context); @Override Boolean getInitialState(); @Override IntentFilter getIntentFilter(); @Override void onBroadcastReceive(Context context, @NonNull Intent intent);  }### Answer:
@Test @SmallTest public void testGetIntentFilter() { IntentFilter intentFilter = mTracker.getIntentFilter(); assertThat(intentFilter.hasAction(Intent.ACTION_DEVICE_STORAGE_OK), is(true)); assertThat(intentFilter.hasAction(Intent.ACTION_DEVICE_STORAGE_LOW), is(true)); assertThat(intentFilter.countActions(), is(2)); }