Interface IIdiomaticAssertion
Namespace: AutoFixture.Idioms
Assembly: AutoFixture.Idioms.dll
Represents an encapsulation of an idiomatic unit test assertion based on Reflection types.
public interface IIdiomaticAssertionRemarks
Some unit tests tend to be very repeatable, following common idioms. Some such idiomatic tests can be expressed as general methods based on their `Type` or other Reflection-based instances.
Methods
Verify(params Assembly[])
Verifies that the idiomatic assertion can be verified for the specified assemblies.
void Verify(params Assembly[] assemblies)Parameters
assemblies Assembly[]
The assemblies.
Verify(IEnumerable<Assembly>)
Verifies that the idiomatic assertion can be verified for the specified assemblies.
void Verify(IEnumerable<Assembly> assemblies)Parameters
assemblies IEnumerable<Assembly>
The assemblies.
Verify(Assembly)
Verifies that the idiomatic assertion can be verified for an entire assembly.
void Verify(Assembly assembly)Parameters
assembly Assembly
The assembly.
Verify(params Type[])
Verifies that the idiomatic assertion can be verified for the specified types.
void Verify(params Type[] types)Parameters
types Type[]
The types.
Verify(IEnumerable<Type>)
Verifies that the idiomatic assertion can be verified for the specified types.
void Verify(IEnumerable<Type> types)Parameters
types IEnumerable<Type>
The types.
Verify(Type)
Verifies that the idiomatic assertion can be verified for the specified type.
void Verify(Type type)Parameters
type Type
The type.
Verify(params MemberInfo[])
Verifies that the idiomatic assertion can be verified for the specified members.
void Verify(params MemberInfo[] memberInfos)Parameters
memberInfos MemberInfo[]
The members.
Verify(IEnumerable<MemberInfo>)
Verifies that the idiomatic assertion can be verified for the specified members.
void Verify(IEnumerable<MemberInfo> memberInfos)Parameters
memberInfos IEnumerable<MemberInfo>
The members.
Verify(MemberInfo)
Verifies that the idiomatic assertion can be verified for the specified member.
void Verify(MemberInfo memberInfo)Parameters
memberInfo MemberInfo
The member.
Verify(params ConstructorInfo[])
Verifies that the idiomatic assertion can be verified for the specified constructors.
void Verify(params ConstructorInfo[] constructorInfos)Parameters
constructorInfos ConstructorInfo[]
The constructors.
Verify(IEnumerable<ConstructorInfo>)
Verifies that the idiomatic assertion can be verified for the specified constructors.
void Verify(IEnumerable<ConstructorInfo> constructorInfos)Parameters
constructorInfos IEnumerable<ConstructorInfo>
The constructors.
Verify(ConstructorInfo)
Verifies that the idiomatic assertion can be verified for the specified constructor.
void Verify(ConstructorInfo constructorInfo)Parameters
constructorInfo ConstructorInfo
The constructor.
Verify(params MethodInfo[])
Verifies that the idiomatic assertion can be verified for the specified methods.
void Verify(params MethodInfo[] methodInfos)Parameters
methodInfos MethodInfo[]
The methods.
Verify(IEnumerable<MethodInfo>)
Verifies that the idiomatic assertion can be verified for the specified methods.
void Verify(IEnumerable<MethodInfo> methodInfos)Parameters
methodInfos IEnumerable<MethodInfo>
The methods.
Verify(MethodInfo)
Verifies that the idiomatic assertion can be verified for the specified method.
void Verify(MethodInfo methodInfo)Parameters
methodInfo MethodInfo
The method.
Verify(params PropertyInfo[])
Verifies that the idiomatic assertion can be verified for the specified properties.
void Verify(params PropertyInfo[] propertyInfos)Parameters
propertyInfos PropertyInfo[]
The properties.
Verify(IEnumerable<PropertyInfo>)
Verifies that the idiomatic assertion can be verified for the specified properties.
void Verify(IEnumerable<PropertyInfo> propertyInfos)Parameters
propertyInfos IEnumerable<PropertyInfo>
The properties.
Verify(PropertyInfo)
Verifies that the idiomatic assertion can be verified for the specified property.
void Verify(PropertyInfo propertyInfo)Parameters
propertyInfo PropertyInfo
The property.
Verify(FieldInfo)
Verifies that the idiomatic assertion can be verified for the specified field.
void Verify(FieldInfo fieldInfo)Parameters
fieldInfo FieldInfo
The field.
Verify(params FieldInfo[])
Verifies that the idiomatic assertion can be verified for the specified fields.
void Verify(params FieldInfo[] fieldInfos)Parameters
fieldInfos FieldInfo[]
The fields.
Verify(IEnumerable<FieldInfo>)
Verifies that the idiomatic assertion can be verified for the specified fields.
void Verify(IEnumerable<FieldInfo> fieldInfos)Parameters
fieldInfos IEnumerable<FieldInfo>
The Fields.