@Override
  public void killInstance(String feedName, String instanceId) {
    Map<String, Instance> instances = instanceMap.get(feedName);
    if (instances != null) {
      instances.remove(instanceId);
    }
  }
An IvoryService implementation used for testing the DR related resource providers.
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/TestIvoryService.java