@Test
    public void simple_nested_structures_with_collection_traversal() throws IOException {
        ApiBean ab = new ApiBean();
        ab.setImage("blobaroni/foo-bar-baz_jpeg");

        ApiVersionBean avb = new ApiVersionBean();
        avb.setApi(ab);

        SearchResultsBean<ApiVersionBean> searchResults = new SearchResultsBean<ApiVersionBean>()
                                                                  .setTotalSize(1)
                                                                  .setBeans(List.of(avb));

        BlobResourceInterceptorProvider interceptorProvider = new BlobResourceInterceptorProvider();
        interceptorProvider.aroundWriteTo(new DummyWriterContext(searchResults));

        assertThat(avb.getApi().getImage()).isEqualTo("blobs/blobaroni/foo-bar-baz_jpeg");
    }
@author Marc Savy {@literal <marc@blackparrotlabs.io>}
manager/api/rest-impl/src/test/java/io/apiman/manager/api/rest/interceptors/BlobResourceInterceptorProviderTest.java