@Test
public void testGetEntry() throws ContentIOException {

  final RepositoryFile repositoryFile = mock( RepositoryFile.class );
  final String value = UUID.randomUUID().toString();
  when( repositoryFile.getName() ).thenReturn( value );
  when( repository.getFile( "null/test" ) ).thenReturn( repositoryFile );
  final ReportContentLocation reportContentLocation =
    new ReportContentLocation( this.repositoryFile, reportContentRepository );
  final ContentEntity test = reportContentLocation.getEntry( "test" );
  assertNotNull( test );
  assertEquals( value, test.getName() );
}