public void setBaseResource(Resource baseResource) {
        handler.setBaseResource(baseResource);
    }
@Test
    void setsBaseResourceList(@TempDir Path tempDir) throws Exception {
        Resource wooResource = Resource.newResource(Files.createDirectory(tempDir.resolve("dir-1")));
        Resource fooResource = Resource.newResource(Files.createDirectory(tempDir.resolve("dir-2")));

        final Resource[] testResources = new Resource[]{wooResource, fooResource};
        environment.setBaseResource(testResources);

        assertThat(handler.getBaseResource()).isExactlyInstanceOf(ResourceCollection.class);
        assertThat(((ResourceCollection) handler.getBaseResource()).getResources()).contains(wooResource, fooResource);
    }