### Question:
DiffEntryWrapper { public boolean isDeleted() { return diffEntry.getChangeType() == ChangeType.DELETE; }  boolean isDeleted(); boolean isAllDeletedEdits(); String getNewPath(); String getAbsoluteNewPath(); File getNewFile();  }### Answer:
@Test public void testIsDeleted() { DiffEntry diffEntry = Mockito.mock(DiffEntry.class); Mockito.when(diffEntry.getChangeType()).thenReturn(ChangeType.DELETE); DiffEntryWrapper wrapper = DiffEntryWrapper.builder() .diffEntry(diffEntry) .build(); Assert.assertTrue(wrapper.isDeleted()); }