@Test
public void testToContentDashboardItemTypeOptionalByClassNameAndClassPK()
	throws PortalException {

	ContentDashboardItemType contentDashboardItemType =
		_getContentDashboardItemType();
	ContentDashboardItemTypeFactory contentDashboardItemTypeFactory =
		_getContentDashboardItemTypeFactory(contentDashboardItemType);
	ContentDashboardItemTypeFactoryTracker
		contentDashboardItemTypeFactoryTracker =
			_getContentDashboardItemTypeFactoryTracker(
				contentDashboardItemType, contentDashboardItemTypeFactory);
	Optional<ContentDashboardItemType> contentDashboardItemTypeOptional =
		ContentDashboardItemTypeUtil.toContentDashboardItemTypeOptional(
			contentDashboardItemTypeFactoryTracker,
			contentDashboardItemType.getInfoItemReference());
	Assert.assertEquals(
		contentDashboardItemType, contentDashboardItemTypeOptional.get());
}