aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-server/src/test/java/com/vaadin/v7/data/util/FileSystemContainerTest.java
blob: f6444ce459169ae6f7e46ee959d24f15a051afde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.vaadin.v7.data.util;

import static org.junit.Assert.assertTrue;

import java.io.File;

import org.junit.Test;

public class FileSystemContainerTest {

    @Test
    public void nonExistingDirectory() {
        FilesystemContainer fsc = new FilesystemContainer(
                new File("/non/existing"));
        assertTrue(fsc.getItemIds().isEmpty());
    }
}