@Test
public void testGetVocabularyNames() {

	AssetVocabularyMetric childAssetVocabularyMetric =
		new AssetVocabularyMetric(
			RandomTestUtil.randomString(), RandomTestUtil.randomString(),
			Collections.singletonList(
				new AssetCategoryMetric(
					RandomTestUtil.randomString(),
					RandomTestUtil.randomString(),
					RandomTestUtil.randomLong())));
	AssetVocabularyMetric assetVocabularyMetric = new AssetVocabularyMetric(
		RandomTestUtil.randomString(), RandomTestUtil.randomString(),
		Collections.singletonList(
			new AssetCategoryMetric(
				childAssetVocabularyMetric, RandomTestUtil.randomString(),
				RandomTestUtil.randomString(),
				RandomTestUtil.randomLong())));
	Assert.assertEquals(
		Arrays.asList(
			assetVocabularyMetric.getName(),
			childAssetVocabularyMetric.getName()),
		assetVocabularyMetric.getVocabularyNames());
}