String getRepositoryFilePath( FileDialogOperation fileDialogOperation ) {
    return getRepositoryFilePath( (RepositoryElementMetaInterface) fileDialogOperation.getRepositoryObject() );
  }
@Test
  public void testGetRepositoryFilePath() {
    RepositoryDirectoryInterface repositoryDirectory = mock( RepositoryDirectoryInterface.class );
    when( repositoryDirectory.getPath() ).thenReturn( "/home/devuser/files" );
    RepositoryObject repositoryObject = mock( RepositoryObject.class );
    when( repositoryObject.getRepositoryDirectory() ).thenReturn( repositoryDirectory );
    when( repositoryObject.getName() ).thenReturn( "food.txt" );
    FileDialogOperation fileDialogOperation = createFileDialogOperation();
    fileDialogOperation.setRepositoryObject( repositoryObject );

    assertEquals( "/home/devuser/files/food.txt",
      testInstance.getRepositoryFilePath( fileDialogOperation ).replace( '\\', '/' ) );
  }