@Override
  public void checkSubjectAccess(
      final KsqlSecurityContext securityContext,
      final String subjectName,
      final AclOperation operation
  ) {
    checkAccess(new CacheKey(securityContext,
        AuthObjectType.SUBJECT,
        subjectName,
        operation));
  }
@Test
  public void shouldCheckCacheValidatorOnSecondSubjectAccessRequest() {
    // When
    cache.checkSubjectAccess(securityContext, SUBJECT_1, AclOperation.READ);
    when(fakeTicker.read()).thenReturn(ONE_SEC_IN_NS);
    cache.checkSubjectAccess(securityContext, SUBJECT_1, AclOperation.READ);

    // Then
    verify(backendValidator, times(1))
        .checkSubjectAccess(securityContext, SUBJECT_1, AclOperation.READ);
    verifyNoMoreInteractions(backendValidator);
  }