public void Gets_the_results_uri() { var futureSupply = new FutureSupplyModel(_resource); Assert.That(futureSupply.ResultsUri, Is.EqualTo("uri-to-future-supplies")); }
private void StubFutureSupply() { _futureSupplyResource = _futureSupplyResourceBuilder.Build(); _futureSupplyModel = new FutureSupplyModel(_futureSupplyResource); _modelLoader.Load <Resource, FutureSupplyModel>(_uri).Returns(_futureSupplyModel); }