Class MockEntryResponseProvider<T>
Inheritance
System.Object
MockEntryResponseProvider<T>
Namespace: PnP.Framework.Utilities.UnitTests.Web
Assembly: PnP.Framework.dll
Syntax
public class MockEntryResponseProvider<T> : object, IMockResponseProvider
Type Parameters
T
|
Constructors
MockEntryResponseProvider()
Declaration
public MockEntryResponseProvider()
MockEntryResponseProvider(ResponseHeader)
Declaration
public MockEntryResponseProvider(ResponseHeader responseHeader)
Parameters
Response
|
Properties
CurrentUrlResponses
Declaration
protected List<MockResponseEntry<T>> CurrentUrlResponses { get; set; }
Property Value
List<Mock
|
ResponseEntries
Declaration
public List<MockResponseEntry<T>> ResponseEntries { get; set; }
Property Value
List<Mock
|
ResponseHeader
Methods
GetActionObjectPathsFromRequest<T>(CSOMRequest)
Declaration
public static List<ActionObjectPath<T>> GetActionObjectPathsFromRequest<T>(CSOMRequest request)
Parameters
CSOMRequest
request
|
Returns
List<Action
|
Type Parameters
T
|
GetRequest(String)
Declaration
public static CSOMRequest GetRequest(string body)
Parameters
System.
|
Returns
GetResponse(String, String, String)
Declaration
public string GetResponse(string url, string verb, string body)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|