@Test
public void testIsCancelCheckoutDocumentActionAvailableWithNullFileEntry()
	throws PortalException {

	_configureDLFileEntryPermission(true, true);
	FileEntryDisplayContextHelper fileEntryDisplayContextHelper =
		new FileEntryDisplayContextHelper(null, null);
	Assert.assertFalse(
		fileEntryDisplayContextHelper.
			isCancelCheckoutDocumentActionAvailable());
}