Interface IProtoData
Creates deterministic, explainable data builders and resolves what they provisioned.
public interface IProtoData
- Extension Methods
Methods
For<T>()
Starts building an instance of T.
ProtoDataObjectBuilder<T> For<T>()
Returns
Type Parameters
T
Ref<T>(string?)
Resolves an object provisioned earlier in this test so a value can reference it, for example a
foreign key. Pass identity when several objects of the type were provisioned.
T Ref<T>(string? identity = null)
Parameters
identitystring
Returns
- T
Type Parameters
T