Interface IDataProviderEntryTestBuilder
Used for testing data provider entry.
Namespace:MyTested.AspNetCore.Mvc.Builders.Contracts.Data
Assembly:MyTested.AspNetCore.Mvc.Abstractions.dll
Syntax
public interface IDataProviderEntryTestBuilder
Methods
| Improve this Doc View SourceWithValue(Object)
Tests whether the value of the built data provider entry is deeply equal to the provided one.
Declaration
IAndDataProviderEntryTestBuilder WithValue(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Value of the data provider entry. |
Returns
Type | Description |
---|---|
MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndDataProviderEntryTestBuilder | The same MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndDataProviderEntryTestBuilder. |
WithValueOfType<TValue>()
Tests whether the value of the built data provider entry is of the same type as the provided one.
Declaration
IAndDataProviderEntryDetailsTestBuilder<TValue> WithValueOfType<TValue>()
Returns
Type | Description |
---|---|
MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndDataProviderEntryDetailsTestBuilder<TValue> | The same MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndDataProviderEntryTestBuilder. |
Type Parameters
Name | Description |
---|---|
TValue | Type of the data provider entry. |