@Test
public void testGetAssetCategoriesByAssetVocabulary() {

	AssetCategory assetCategory = Mockito.mock(AssetCategory.class);
	Mockito.when(
		assetCategory.getVocabularyId()
	).thenReturn(
		RandomTestUtil.randomLong()
	);
	JournalArticle journalArticle = _getJournalArticle();
	JournalArticleContentDashboardItem journalArticleContentDashboardItem =
		new JournalArticleContentDashboardItem(
			Collections.singletonList(assetCategory), null, null, null,
			null, null, journalArticle, null, null);
	Assert.assertEquals(
		Collections.singletonList(assetCategory),
		journalArticleContentDashboardItem.getAssetCategories(
			assetCategory.getVocabularyId()));
}