@Test
public void testCreateItem() throws Exception {

  final HashMap<String, Serializable> metadata = new HashMap<>();
  when( repository.getFile( anyString() ) ).thenReturn( repositoryFile );
  when( repository.getFileMetadata( any() ) ).thenReturn( metadata );
  when( repositoryFile.getPath() ).thenReturn( "/testPath" );
  reportContentLocation.createItem( "testName" );
  Assert.assertTrue( repository.getFileMetadata( repositoryFile.getId() ).containsKey( ReportContentLocation.RESERVEDMAPKEY_LINEAGE_ID ) );
}