protected override void GivenThat() { base.GivenThat(); DataObjectUriExtractor.Stub(extractor => extractor.GetUri(DataObject)) .Return(null); }
protected override void GivenThat() { base.GivenThat(); DataObjectUriExtractor.Stub(extractor => extractor.GetUri(DataObject)) .Return("http://www.test.com/podcast.xml"); }
protected override void GivenThat() { base.GivenThat(); Extractor = new DataObjectUriExtractor(); DataObject = GenerateMock <IDataObject>(); }
protected override void GivenThat() { base.GivenThat(); var dataObject = GenerateMock <IDataObject>(); DataObjectUriExtractor.Stub(extractor => extractor.ContainsUri(dataObject)) .Return(true); CommandParameter = dataObject; }