Beamable SDK
Public Member Functions | List of all members
Core.Platform.Tests.MockPlatformRoute< T > Class Template Reference
Inheritance diagram for Core.Platform.Tests.MockPlatformRoute< T >:
Inheritance graph
[legend]
Collaboration diagram for Core.Platform.Tests.MockPlatformRoute< T >:
Collaboration graph
[legend]

Public Member Functions

MockPlatformRoute< T > WithResponse (T response)
 
MockPlatformRoute< T > WithNoAuthHeader (bool use=false)
 
MockPlatformRoute< T > WithToken (string token)
 
MockPlatformRoute< T > WithFormField (string name, string value)
 
override Promise< T1 > Invoke< T1 > (object body, bool includeAuth, AccessToken token)
 
override bool MatchesRequest< T1 > (Method method, string uri, string token, object body, bool includeAuthHeader)
 
- Public Member Functions inherited from Core.Platform.Tests.MockPlatformRouteBase
abstract Promise< T > Invoke< T > (object body, bool includeAuth, AccessToken token)
 
abstract bool MatchesRequest< T > (Method method, string uri, string token, object body, bool includeAuthHeader)
 

Additional Inherited Members

- Public Attributes inherited from Core.Platform.Tests.MockPlatformRouteBase
Method Method
 
string Uri
 
bool IncludeAuthHeader = true
 
string Token
 
bool Called => CallCount > 0
 
- Protected Attributes inherited from Core.Platform.Tests.MockPlatformRouteBase
object _response
 
- Properties inherited from Core.Platform.Tests.MockPlatformRouteBase
int CallCount [get, protected set]
 

The documentation for this class was generated from the following file: