@Test
public void testGetVersions() {

	JournalArticle journalArticle = _getJournalArticle();
	Mockito.when(
		journalArticle.getStatus()
	).thenReturn(
		WorkflowConstants.STATUS_APPROVED
	);
	JournalArticleContentDashboardItem journalArticleContentDashboardItem =
		new JournalArticleContentDashboardItem(
			null, null, null, null, null, null, journalArticle,
			_getLanguage(), null);
	List<ContentDashboardItem.Version> versions =
		journalArticleContentDashboardItem.getVersions(LocaleUtil.US);
	Assert.assertEquals(versions.toString(), 1, versions.size());
	ContentDashboardItem.Version version = versions.get(0);
	Assert.assertEquals(
		WorkflowConstants.LABEL_APPROVED, version.getLabel());
	Assert.assertEquals("success", version.getStyle());
}