### Question:
Job { protected Job(Tile tile, int tileSize, boolean hasAlpha) { if (tile == null) { throw new IllegalArgumentException("tile must not be null"); } this.tile = tile; this.tileSize = tileSize; this.hasAlpha = hasAlpha; } protected  Job(Tile tile, int tileSize, boolean hasAlpha); @Override boolean equals(Object obj); @Override int hashCode(); final boolean hasAlpha; final Tile tile; final int tileSize; }### Answer:
@Test public void jobTest() { Job job = createJob(new Tile(0, 1, (byte) 2), 1); Assert.assertEquals(new Tile(0, 1, (byte) 2), job.tile); verifyInvalidConstructor(null); }