Interface IDataProviderEntryDetailsTestBuilder<TValue>
Used for testing data provider entry details.
Namespace:MyTested.AspNetCore.Mvc.Builders.Contracts.Data
Assembly:MyTested.AspNetCore.Mvc.Abstractions.dll
Syntax
public interface IDataProviderEntryDetailsTestBuilder<TValue>
Type Parameters
Name | Description |
---|---|
TValue | Type of data provider entry value. |
Methods
| Improve this Doc View SourcePassing(Action<TValue>)
Tests whether the data provider entry passes the given assertions.
Declaration
IAndDataProviderEntryDetailsTestBuilder<TValue> Passing(Action<TValue> assertions)
Parameters
Type | Name | Description |
---|---|---|
System.Action<TValue> | assertions | Action containing all assertions on the data provider entry. |
Returns
Type | Description |
---|---|
MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndDataProviderEntryDetailsTestBuilder<TValue> | The same MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndDataProviderEntryDetailsTestBuilder`1. |
Passing(Func<TValue, Boolean>)
Tests whether the data provider entry passes the given predicate.
Declaration
IAndDataProviderEntryDetailsTestBuilder<TValue> Passing(Func<TValue, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<TValue, System.Boolean> | predicate | Predicate testing the data provider entry. |
Returns
Type | Description |
---|---|
MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndDataProviderEntryDetailsTestBuilder<TValue> | The same MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndDataProviderEntryDetailsTestBuilder`1. |