Class AssemblyFluentAssertions
- Namespace
- OneImlx.Test.FluentAssertions
- Assembly
- OneImlx.Test.dll
The fluent assertions for Assembly.
public static class AssemblyFluentAssertions
- Inheritance
-
AssemblyFluentAssertions
- Inherited Members
Methods
HaveTypesInRootNamespace(AssemblyAssertions, string)
Asserts that the assembly has a valid namespace based on its name.
public static AndConstraint<AssemblyAssertions> HaveTypesInRootNamespace(this AssemblyAssertions assertions, string rootNamespace)
Parameters
assertions
AssemblyAssertionsFluent Assertions wrapper for the assembly.
rootNamespace
stringThe expected root namespace.
Returns
HaveTypesInValidLocations(AssemblyAssertions, IEnumerable<Type>?)
Asserts that the assembly has all types in the valid files or locations.
public static AndConstraint<AssemblyAssertions> HaveTypesInValidLocations(this AssemblyAssertions assertions, IEnumerable<Type>? excludeTypes = null)
Parameters
assertions
AssemblyAssertionsFluent Assertions wrapper for the assembly.
excludeTypes
IEnumerable<Type>The types to exclude checks.