@Override
    public List<WidgetTypeInfo> findByImageLink(String imageUrl, int limit) {
        return DaoUtil.convertDataList(widgetTypeInfoRepository.findByImageUrl(imageUrl, limit));
    }
@Test
    public void testFindByImageLink() {
        TenantId tenantId = new TenantId(UUID.randomUUID());
        WidgetTypeDetails details = createAndSaveWidgetType(tenantId, 0, new String[]{"a"});
        details.setDescriptor(JacksonUtil.newObjectNode().put("bg", "/image/tenant/widget.png"));
        widgetTypeDao.save(tenantId, details);
        var result = widgetTypeDao.findByTenantAndImageLink(tenantId, "/image/tenant/widget.png", 3);
        assertEquals(1, result.size());
        result = widgetTypeDao.findByTenantAndImageLink(tenantId, "/image/tenant/widget2.png", 3);
        assertEquals(0, result.size());
        widgetTypeDao.removeById(tenantId, details.getUuidId());
    }