@Override
    public Mono<CategoryVo> getByName(String name) {
        return client.fetch(Category.class, name)
            .map(CategoryVo::from);
    }
@Test
    void getByName() throws JSONException {
        when(client.fetch(eq(Category.class), eq("hello")))
            .thenReturn(Mono.just(category()));
        CategoryVo categoryVo = categoryFinder.getByName("hello").block();
        categoryVo.getMetadata().setCreationTimestamp(null);
        JSONAssert.assertEquals("""
                {
                     "metadata": {
                         "name": "hello",
                         "annotations": {
                             "K1": "V1"
                         }
                     },
                     "spec": {
                         "displayName": "displayName-1",
                         "slug": "slug-1",
                         "description": "description-1",
                         "cover": "cover-1",
                         "template": "template-1",
                         "priority": 0,
                         "children": [
                             "C1",
                             "C2"
                         ],
                         "preventParentPostCascadeQuery": false,
                         "hideFromList": false
                     }
                }
                """,
            JsonUtils.objectToJson(categoryVo),
            true);
    }