@Test
    void verifyNoOp() {
        val repository = LockRepository.noOp();
        val lockKey = UUID.randomUUID().toString();
        val result = repository.execute(lockKey, () -> lockKey);
        assertTrue(result.isPresent());
        assertEquals(result.get(), lockKey);
    }
This is {@link DefaultLockRepositoryTests}.

@author Misagh Moayyed
@since 6.5.0
api/cas-server-core-api-util/src/test/java/org/apereo/cas/util/lock/DefaultLockRepositoryTests.java