### Question:
FileTreeDiffEntry { public static FileTreeDiffEntry instance(final DiffType diffType, final CollectionAndDataObjectListingEntry collectionAndDataObjectListingEntry, final String absolutePathOppositeFile) { return new FileTreeDiffEntry(diffType, collectionAndDataObjectListingEntry, absolutePathOppositeFile, 0L, 0L, "", ""); } private  FileTreeDiffEntry(final DiffType diffType,
			final CollectionAndDataObjectListingEntry collectionAndDataObjectListingEntry,
			final String absolutePathOppositeFile, final long lengthRhsFile, final long timestampRhsFile,
			final String checksumThisFile, final String checksumOppositeFile); boolean isCountAsDiff(); static FileTreeDiffEntry instance(final DiffType diffType,
			final CollectionAndDataObjectListingEntry collectionAndDataObjectListingEntry,
			final String absolutePathOppositeFile); static FileTreeDiffEntry instance(final DiffType diffType,
			final CollectionAndDataObjectListingEntry collectionAndDataObjectListingEntry,
			final String absolutePathOppositeFile, final long lengthRhsFile, final long timestampRhsFile); static FileTreeDiffEntry instanceForFileDiff(final DiffType diffType,
			final CollectionAndDataObjectListingEntry collectionAndDataObjectListingEntry,
			final String absolutePathOppositeFile, final long lengthRhsFile, final long timestampRhsFile,
			final String checksumThisFile, final String checksumOppositeFile); @Override String toString(); DiffType getDiffType(); CollectionAndDataObjectListingEntry getCollectionAndDataObjectListingEntry(); long getTimestampOppositeFile(); void setTimestampOppositeFile(final long timestampOppositeFile); int getCountOfDiffsInChildren(); void setCountOfDiffsInChildren(final int countOfDiffsInChildren); String getAbsPathOppositeFile(); long getLengthOppositeFile(); String getChecksumThisFile(); String getChecksumOppositeFile(); boolean isResolved(); void setResolved(final boolean resolved);  }### Answer:
@Test public void testInstance() throws Exception { CollectionAndDataObjectListingEntry entry = Mockito.mock(CollectionAndDataObjectListingEntry.class); FileTreeDiffEntry diffEntry = FileTreeDiffEntry.instance(DiffType.LEFT_HAND_PLUS, entry, "xxx", 0, 0); Assert.assertNotNull("null diffEntry", diffEntry); }
@Test(expected = IllegalArgumentException.class) public void testInstanceNullDiffType() throws Exception { CollectionAndDataObjectListingEntry entry = Mockito.mock(CollectionAndDataObjectListingEntry.class); FileTreeDiffEntry.instance(null, entry, ""); }
@Test(expected = IllegalArgumentException.class) public void testInstanceNullCollEntry() throws Exception { FileTreeDiffEntry.instance(DiffType.RIGHT_HAND_PLUS, null, ""); }