@Test
  public void contract_hashCode_equals() {
    JobInvocation jobInvocation = builder.build();
    assertEquals(jobInvocation, builder.build());
    assertEquals(jobInvocation.hashCode(), builder.build().hashCode());
    JobInvocation jobInvocationNew = builder.setTag("new").build();
    assertNotEquals(jobInvocation, jobInvocationNew);
    assertNotEquals(jobInvocation.hashCode(), jobInvocationNew.hashCode());
  }
Tests for the {@link JobInvocation} class.
jobdispatcher/src/test/java/com/firebase/jobdispatcher/JobInvocationTest.java