ITestStore<T> Interface
Definition
- Namespace
- Codebelt.Extensions.Xunit
- Assemblies
- Codebelt.Extensions.Xunit.dll
Represents the members needed for adding and querying a store tailored for unit testing.
public interface ITestStore<T>
Type Parameters
TThe type of the object to reference in the store.
Properties
| Name | Description |
|---|---|
| Count | Gets the number of elements contained in the ITestStore<T>. |
Methods
| Name | Description |
|---|---|
| Add(T) | Adds an item to the ITestStore<T>. |
| Query(Func<T, bool>) | Filters the elements contained in the ITestStore<T> based on an optional |
| QueryFor<TResult>() | Filters the elements contained in the ITestStore<T> based on the type |