@Test
public void testOnConfigured() {

    setup(mock(NiFiRegistryProperties.class), mock(UserGroupProvider.class), createMockConfigContext());
    verify(rangerBasePlugin, times(1)).init();
    assertEquals(appId, authorizer.mockRangerBasePlugin.getAppId());
    assertEquals(serviceType, authorizer.mockRangerBasePlugin.getServiceType());
}