BoardGameGeekApiClient.Tests.UnitTests.BoardGameGeekClient.BoardGameGeekClient_BaseTest.CreateStub C# (CSharp) Method

CreateStub() protected method

protected CreateStub ( ) : IApiDownloadService
return IApiDownloadService
        protected virtual IApiDownloadService CreateStub()
        {
            var stub = MockRepository.GenerateStub<IApiDownloadService>();
            stub.Stub(s => s.DownloadApiResult(Arg<Uri>.Is.Anything))
                .Return(XDocument.Parse(StubResponseString));

            return stub;
        }
BoardGameGeekClient_BaseTest