@Test
  public void testCodingForExtras() {
    Bundle extras = new Bundle();
    extras.putString("foo", "bar");
    builder.setExtras(extras);

    Bundle deserializedExtras =
        coder
            .decode(coder.encode(setValidBuilderDefaults(builder).build(), new Bundle()))
            .build()
            .getExtras();

    assertBundlesEqual(extras, deserializedExtras);
  }
Tests for the {@link JobCoder} class.
jobdispatcher/src/test/java/com/firebase/jobdispatcher/JobCoderTest.java