@Test
public void testGetPolicyByResourceAndActionWhenDoesNotExist() {

    configure(ADMIN_USER.getIdentity(), NIFI_IDENTITIES);
    final AccessPolicy retrievedPolicy = policyProvider.getAccessPolicy("does-not-exist", RequestAction.READ);
    assertNull(retrievedPolicy);
}