@Override
    public boolean equals(final Object o) {
        if(this == o) {
            return true;
        }
        if(o == null || getClass() != o.getClass()) {
            return false;
        }
        final TransferStatus that = (TransferStatus) o;
        return length == that.length && Objects.equals(offset.longValue(), that.offset.longValue()) && Objects.equals(part, that.part);
    }
@Test
    public void testEquals() {
        assertEquals(new TransferStatus(), new TransferStatus());
        assertEquals(new TransferStatus().hashCode(), new TransferStatus().hashCode());
    }