@Override
    public MatchType convert(@NotNull String type) {
        if (type.contains(DELIMITER)) {
            String[] matchType = type.split(DELIMITER);
            return new MatchType(RateLimitType.valueOf(matchType[0].toUpperCase()), matchType[1]);
        }
        return new MatchType(RateLimitType.valueOf(type.toUpperCase()), null);
    }
@Test
    @SuppressWarnings("deprecation")
    public void testConvertStringTypeMethodOnly() {
        MatchType matchType = target.convert("httpmethod");
        assertThat(matchType).isNotNull();
        assertThat(matchType.getType()).isEqualByComparingTo(RateLimitType.HTTPMETHOD);
        assertThat(matchType.getMatcher()).isNull();
    }