@Test
  public void testWriteToBundle_tags() {
    for (String tag : Arrays.asList("foo", "bar", "foobar", "this is a tag")) {
      Bundle b = writer.writeToBundle(initializeDefaultBuilder().setTag(tag).build(), new Bundle());

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