jasmine.Ajax.stubRequest(new RegExp("("+apiPrefix + '\/statistics)'+'(.*)')).andReturn({
    'responseText' : JSON.stringify(StatisticMockery())
  });