### Question:
WorkConstraintsTracker implements ConstraintController.OnConstraintUpdatedCallback { @Override public void onConstraintNotMet(@NonNull List<String> workSpecIds) { if (mCallback != null) { mCallback.onAllConstraintsNotMet(workSpecIds); } } WorkConstraintsTracker(Context context, @Nullable WorkConstraintsCallback callback); @VisibleForTesting  WorkConstraintsTracker(
            @Nullable WorkConstraintsCallback callback,
            ConstraintController[] controllers); void replace(@NonNull List<WorkSpec> workSpecs); void reset(); boolean areAllConstraintsMet(@NonNull String workSpecId); @Override void onConstraintMet(@NonNull List<String> workSpecIds); @Override void onConstraintNotMet(@NonNull List<String> workSpecIds);  }### Answer:
@Test public void testOnConstraintNotMet() { mWorkConstraintsTracker.onConstraintNotMet(TEST_WORKSPEC_IDS); assertThat(mConstrainedWorkSpecIds, is(TEST_WORKSPEC_IDS)); }