@Test
public void testGetFileVersionPath() {

	FileVersion fileVersion = Mockito.mock(FileVersion.class);
	Mockito.when(
		fileVersion.getFileEntryId()
	).thenReturn(
		3L
	);
	Mockito.when(
		fileVersion.getFileVersionId()
	).thenReturn(
		4L
	);
	Mockito.when(
		fileVersion.getGroupId()
	).thenReturn(
		1L
	);
	Mockito.when(
		fileVersion.getRepositoryId()
	).thenReturn(
		2L
	);
	String configurationUuid = RandomTestUtil.randomString();
	String fileVersionPath = AMStoreUtil.getFileVersionPath(
		fileVersion, configurationUuid);
	Assert.assertEquals(
		"adaptive/" + configurationUuid + "/1/2/3/4/", fileVersionPath);
}