C# 클래스 CtcApi.Testing.FakeHttpHelper

Provides functionality for injecting mock HTTP objects into standard .NET calls
This class is primarily intended to make it easier to write unit tests for code which makes external HTTP calls.
파일 보기 프로젝트 열기: BellevueCollege/CtcApi

공개 메소드들

메소드 설명
AssertExpectedHeaders ( ) : void

AssertRequestMethod ( string method ) : void

FakeHttpHelper ( string schema, string responseText ) : System

비공개 메소드들

메소드 설명
FakeHttpHelper ( ) : System

메소드 상세

AssertExpectedHeaders() 공개 메소드

public AssertExpectedHeaders ( ) : void
리턴 void

AssertRequestMethod() 공개 메소드

public AssertRequestMethod ( string method ) : void
method string
리턴 void

FakeHttpHelper() 공개 메소드

public FakeHttpHelper ( string schema, string responseText ) : System
schema string /// The URL schema to inject into the factory. URLs /// with the specified schema will be handled by this ///
responseText string
리턴 System