@Test(expected = UninheritableAuthorizationsException.class)
public void testCheckInheritNonConfigurableUserGroupProvider() {

    final UserGroupProvider userGroupProvider = mock(UserGroupProvider.class);
    final AuthorizerConfigurationContext configurationContext = createMockConfigContext();
    setup(mock(NiFiRegistryProperties.class), userGroupProvider, configurationContext);
    authorizer.checkInheritability(NON_EMPTY_FINGERPRINT);
}