Class CustomTestBase<TContext>
Base class for custom tests
Inherited Members
Namespace: PayrollEngine.Client.Test
Assembly: PayrollEngine.Client.Test.dll
Syntax
public abstract class CustomTestBase<TContext> where TContext : TestContextBase
Type Parameters
| Name | Description |
|---|---|
| TContext |
Constructors
CustomTestBase(PayrollHttpClient, TContext)
New instance of CustomTestBase<TContext>
Declaration
protected CustomTestBase(PayrollHttpClient httpClient, TContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrollHttpClient | httpClient | The payroll http client |
| TContext | context | The test context |
Properties
Context
The test context
Declaration
public TContext Context { get; }
Property Value
| Type | Description |
|---|---|
| TContext |
HttpClient
The Payroll http client
Declaration
public PayrollHttpClient HttpClient { get; }
Property Value
| Type | Description |
|---|---|
| PayrollHttpClient |
Tenant
The Tenant
Declaration
public Tenant Tenant { get; }
Property Value
| Type | Description |
|---|---|
| Tenant |
User
The user
Declaration
public User User { get; }
Property Value
| Type | Description |
|---|---|
| User |