@BeforeEach
    void before() throws Throwable {
        val supportingService = RequestValidatorTestUtils.getService(
            RegisteredServiceTestUtils.CONST_TEST_URL,
            SUPPORTING_CLIENT_ID,
            SUPPORTING_CLIENT_ID,
            RequestValidatorTestUtils.SHARED_SECRET,
            CollectionUtils.wrapSet(OAuth20GrantTypes.REFRESH_TOKEN));
        val nonSupportingService = RequestValidatorTestUtils.getService(
            RegisteredServiceTestUtils.CONST_TEST_URL2,
            NON_SUPPORTING_CLIENT_ID,
            NON_SUPPORTING_CLIENT_ID,
            RequestValidatorTestUtils.SHARED_SECRET,
            CollectionUtils.wrapSet(OAuth20GrantTypes.PASSWORD));
        val promiscuousService = RequestValidatorTestUtils.getPromiscuousService(
            RegisteredServiceTestUtils.CONST_TEST_URL3,
            PROMISCUOUS_CLIENT_ID,
            PROMISCUOUS_CLIENT_ID,
            RequestValidatorTestUtils.SHARED_SECRET);

        servicesManager.save(supportingService, nonSupportingService, promiscuousService);

        registerTicket(SUPPORTING_TICKET, SUPPORTING_CLIENT_ID);
        registerTicket(NON_SUPPORTING_TICKET, NON_SUPPORTING_CLIENT_ID);
        registerTicket(PROMISCUOUS_TICKET, PROMISCUOUS_CLIENT_ID);
    }
This is {@link OAuth20RefreshTokenGrantTypeTokenRequestValidatorTests}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-oauth/src/test/java/org/apereo/cas/support/oauth/validator/token/OAuth20RefreshTokenGrantTypeTokenRequestValidatorTests.java