@Test
  public void testHashCode() {
    assertEquals(jobPartitionState.hashCode(), jobPartitionState.hashCode());
    assertEquals(jobPartitionState.hashCode(), jobPartitionStateSameAttributes.hashCode());

    assertNotEquals(jobPartitionState.hashCode(), jobPartitionStateOtherAddress.hashCode());
    assertNotEquals(jobPartitionState.hashCode(), jobPartitionStateOtherState.hashCode());
  }
 @Test
 public void testGetState() {
   assertEquals(WAITING, jobPartitionState.getState());
   assertEquals(CANCELLED, jobPartitionStateOtherState.getState());
 }
 @Test
 public void testToString() {
   assertNotNull(jobPartitionState.toString());
 }
 @Test
 public void testGetOwner() {
   assertEquals(address, jobPartitionState.getOwner());
   assertEquals(otherAddress, jobPartitionStateOtherAddress.getOwner());
 }