test("succeeds even if the given URL has query parameters that don't match", function(assert) {
  const mock = new MockRequest('user');
  const getType = sinon.stub(mock, 'getType').returns('GET');
  const getUrl = sinon.stub(mock, 'getUrl').returns('/api/ember-data-factory-guy');

  const settings = {
    type: 'GET',
    url: '/api/ember-data-factory-guy?page=2'
  };

  assert.ok(mock.basicRequestMatches(settings));
});
test("succeeds if the URLs and the types match", function(assert) {
  const mock = new MockRequest('user');
  const getType = sinon.stub(mock, 'getType').returns('GET');
  const getUrl = sinon.stub(mock, 'getUrl').returns('/api/ember-data-factory-guy');

  const settings = {
    type: 'GET',
    url: '/api/ember-data-factory-guy'
  };

  assert.ok(mock.basicRequestMatches(settings));
});