@Test
    void verifyDefault() {
        val service = RegisteredServiceTestUtils.getService(UUID.randomUUID().toString());
        val registeredService = getRegisteredService(service.getId(), UUID.randomUUID().toString(), CLIENT_SECRET);
        registeredService.setDeviceTokenExpirationPolicy(null);
        servicesManager.save(registeredService);
        val builder = new TicketGrantingTicketExpirationPolicyBuilder(casProperties);
        val policy = OAuth20DeviceTokenUtils.determineExpirationPolicyForService(servicesManager, builder, service);
        assertEquals(28800, policy.getTimeToLive());
    }
This is {@link OAuth20DeviceTokenUtilsTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-oauth/src/test/java/org/apereo/cas/ticket/device/OAuth20DeviceTokenUtilsTests.java