コード例 #1
0
        public void setup()
        {
            _headers = new NameValueCollection();
            _oAuthSession = MockRepository.GenerateMock<IOAuthSession>();
            _oAuthContext = MockRepository.GenerateMock<IOAuthContext>();

            _oAuthContext.Expect(x => x.Headers).Return(_headers);

            _consumerRequest = new ConsumerRequest(_oAuthSession, _oAuthContext, null, null);

        }