@Test public void onlyFilesInFileSystem() throws FileSystemException { MatcherAssert.assertThat( new FileSystemOfClasses( new FileSystem.Fake( Arrays.asList( new FileSystemPath.Fake("SomeTest.class"), new FileSystemPath.Fake("some-file.txt")))) .files(), Matchers.hasSize(1)); }
@Override public List<FileSystemPath> files() throws FileSystemException { return fileSystem.files(); }
FileSystemOfClasses implements FileSystem { @Override public List<FileSystemPath> files() throws FileSystemException { return fileSystem.files(); } }
FileSystemOfClasses implements FileSystem { @Override public List<FileSystemPath> files() throws FileSystemException { return fileSystem.files(); } FileSystemOfClasses(FileSystem fileSystem); }
FileSystemOfClasses implements FileSystem { @Override public List<FileSystemPath> files() throws FileSystemException { return fileSystem.files(); } FileSystemOfClasses(FileSystem fileSystem); @Override List<FileSystemPath> files(); }
FileSystemOfClasses implements FileSystem { @Override public List<FileSystemPath> files() throws FileSystemException { return fileSystem.files(); } FileSystemOfClasses(FileSystem fileSystem); @Override List<FileSystemPath> files();  }