public CatalogueTreeSortStrategy getStrategy(String strategyName) {
        CatalogueTreeSortStrategy catalogueTreeSortStrategy =
                Safes.of(catalogueTreeSortStrategyMap).get(strategyName);
        if (Objects.isNull(catalogueTreeSortStrategy)) {
            log.warn("Strategy {} is not defined. Use DefaultStrategy", strategyName);
            catalogueTreeSortStrategy =
                    Safes.of(catalogueTreeSortStrategyMap).get(CatalogueSortConstant.STRATEGY_DEFAULT);
        }
        if (Objects.isNull(catalogueTreeSortStrategy)) {
            throw new BusException(StrUtil.format("Strategy {} is not defined.", strategyName));
        }
        return catalogueTreeSortStrategy;
    }
@Test
    public void getStrategyTest() {
        when(catalogueTreeSortStrategyMap.get(anyString())).thenAnswer(invocationOnMock -> {
            String strategy = invocationOnMock.getArgument(0);
            return mockCatalogueTreeSortStrategyMap.get(strategy);
        });

        CatalogueTreeSortStrategy strategy = catalogueTreeSortFactoryTest.getStrategy("create_time");
        assertEquals(catalogueTreeSortCreateTimeStrategy, strategy);
    }