@Override
    public PathAttributes find(final Path file, final ListProgressListener listener) throws BackgroundException {
        final PathAttributes attr = super.find(file, listener);
        if(StringUtils.isNotBlank(file.attributes().getVersionId())) {
            return attr.withVersionId(file.attributes().getVersionId()).withFileId(file.attributes().getFileId());
        }
        return attr;
    }
@Test(expected = NotfoundException.class)
    public void testFindNotFound() throws Exception {
        final Path test = new Path(new DefaultHomeFinderService(session).find(),
                new AlphanumericRandomStringService().random(), EnumSet.of(Path.Type.file));
        final NextcloudAttributesFinderFeature f = new NextcloudAttributesFinderFeature(session);
        try {
            f.find(test);
        }
        catch(NotfoundException e) {
            assertEquals("Unexpected response (404 Not Found). Please contact your web hosting service provider for assistance.", e.getDetail());
            throw e;
        }
    }