protected CreateStub ( ) : IApiDownloadService | ||
return | IApiDownloadService |
protected override IApiDownloadService CreateStub()
{
var stub = MockRepository.GenerateStub<IApiDownloadService>();
stub.Stub(s => s.DownloadApiResult(Arg<Uri>.Is.Anything))
.Throw(new Exception());
return stub;
}