private static Bundle[] getBundleCombinations() {
    List<Bundle> bundles = new ArrayList<>();
    bundles.add(new Bundle());

    Bundle b = new Bundle();
    b.putString("foo", "bar");
    b.putInt("bar", 1);
    b.putLong("baz", 3L);
    bundles.add(b);

    return bundles.toArray(new Bundle[bundles.size()]);
  }
Provides common utilities helpful for testing.
jobdispatcher/src/testLib/com/firebase/jobdispatcher/TestUtil.java