@Test
    void verifyAgentFingerprintFound() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        context.setRemoteAddr("1.2.3.4");
        context.withUserAgent();
        val ex = new UserAgentDeviceFingerprintExtractor();
        assertTrue(ex.extract(RegisteredServiceTestUtils.getAuthentication(),
            context.getHttpServletRequest(), context.getHttpServletResponse()).isPresent());
    }
This is {@link UserAgentDeviceFingerprintExtractorTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-trusted-mfa/src/test/java/org/apereo/cas/trusted/authentication/storage/fingerprint/UserAgentDeviceFingerprintExtractorTests.java