import Ember from 'ember';
const { RSVP } = Ember;

export default class FakeExperiments {
  constructor() {
    this.experimentsHash = {};
  }

  getExperimentValue(experimentName) {
    return RSVP.resolve(this.experimentsHash[experimentName]);
  }

  use(experimentsHash) {
    this.experimentsHash = experimentsHash;
  }
}
