userFolder = "public/admin";
RepositoryFileDto fileDetailsMock = mock( RepositoryFileDto.class );
RepositoryFile workspaceFolder = mock( RepositoryFile.class );
doReturn( userFolder ).when( workspaceFolder ).getId();
SessionResource sessionResource = mock( SessionResource.class );
List<RepositoryFile> children = new ArrayList<RepositoryFile>();
RepositoryFile mockedChild = mock( RepositoryFile.class );
doReturn( false ).when( mockedChild ).isFolder();
children.add( mockedChild );