@Override
    public AttributedList<Path> list(final Path directory, final ListProgressListener listener) throws BackgroundException {
        return this.list(directory, listener, new HostPreferences(session.getHost()).getInteger("box.listing.chunksize"));
    }
@Test(expected = NotfoundException.class)
    public void testNotFound() throws Exception {
        final BoxFileidProvider fileid = new BoxFileidProvider(session);
        new BoxListService(session, fileid).list(new Path(new AlphanumericRandomStringService().random(), EnumSet.of(directory)), new DisabledListProgressListener());
    }