@Test
  public void extras() throws Exception {
    assertNotNull(builder.build().getExtras());

    Bundle bundle = new Bundle();
    bundle.putLong("test", 1L);
    Bundle extras = builder.addExtras(bundle).build().getExtras();
    assertEquals(1, extras.size());
    assertEquals(1L, extras.getLong("test"));
  }
Tests for the {@link JobInvocation} class.
jobdispatcher/src/test/java/com/firebase/jobdispatcher/JobInvocationTest.java