Table of Contents

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 AssemblyAssertions

Fluent Assertions wrapper for the assembly.

rootNamespace string

The expected root namespace.

Returns

AndConstraint<AssemblyAssertions>

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 AssemblyAssertions

Fluent Assertions wrapper for the assembly.

excludeTypes IEnumerable<Type>

The types to exclude checks.

Returns

AndConstraint<AssemblyAssertions>