@Override
  protected ResourceProvider createResourceProvider(Resource.Type type) {
    Set<String> propertyIds = PropertyHelper.getPropertyIds(type);
    Map<Resource.Type,String> keyPropertyIds = PropertyHelper.getKeyPropertyIds(type);

    switch (type.getInternalType()) {
      case DRFeed:
        return new FeedResourceProvider(service);
      case DRTargetCluster:
        return new TargetClusterResourceProvider(service);
      case DRInstance:
        return new InstanceResourceProvider(service);
    }
    return super.createResourceProvider(type);
  }
Extension of the default provider module that registers the mirroring resources with a test Ivory service.
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/TestIvoryProviderModule.java