@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        } else if (!(obj instanceof Job)) {
            return false;
        }
        Job other = (Job) obj;
        return this.hasAlpha == other.hasAlpha && this.tile.equals(other.tile);
    }
@Test
    public void equalsTest() {
        Job job1 = new Job(new Tile(0, 1, (byte) 2, TILE_SIZE), false);
        Job job2 = new Job(new Tile(0, 1, (byte) 2, TILE_SIZE), false);
        Job job3 = new Job(new Tile(0, 0, (byte) 0, TILE_SIZE), false);

        TestUtils.equalsTest(job1, job2);

        Assert.assertNotEquals(job1, job3);
        Assert.assertNotEquals(job3, job1);
        Assert.assertNotEquals(job1, new Object());
    }