@Test
  public void testWriteToBundle_updateCurrent() {
    for (boolean replaceCurrent : ALL_BOOLEANS) {
      Bundle b =
          writer.writeToBundle(
              initializeDefaultBuilder().setReplaceCurrent(replaceCurrent).build(), new Bundle());

      assertEquals("update_current", replaceCurrent, b.getBoolean("update_current"));
    }
  }
Tests for the {@link GooglePlayJobWriter} class.
jobdispatcher/src/test/java/com/firebase/jobdispatcher/GooglePlayJobWriterTest.java